Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 161.5 kB / 25.03 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.364e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004989/0.005022, allocations: 3.051 MB / 253.4 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.006846, allocations: 0.8198 MB / 254.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.007024, allocations: 4 kB / 254.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.007224, allocations: 59.38 kB / 254.3 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.007467, allocations: 130.8 kB / 254.4 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.00788, allocations: 147.7 kB / 254.6 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.00852, allocations: 0.5499 MB / 255.1 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.008866, allocations: 116.8 kB / 255.2 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.00931, allocations: 315.4 kB / 255.5 MB, free: 2.613 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.009603, allocations: 187.5 kB / 255.7 MB, free: 2.43 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.00969, allocations: 56 kB / 255.8 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.00982, allocations: 59.98 kB / 255.8 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.009955, allocations: 119.6 kB / 256 MB, free: 2.199 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.01016, allocations: 167.6 kB / 256.1 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.0109, allocations: 0.5842 MB / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.0109, allocations: 0 / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0109, allocations: 0 / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.01091, allocations: 0 / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00162/0.01253, allocations: 0.8114 MB / 257.5 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.01258, allocations: 15.98 kB / 257.5 MB, free: 0.582 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01275, allocations: 80.66 kB / 257.6 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01319, allocations: 251.3 kB / 257.9 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.01322, allocations: 29.38 kB / 257.9 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.0133, allocations: 36.38 kB / 257.9 MB, free: 172 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.01444, allocations: 0.6539 MB / 258.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01446, allocations: 192 / 258.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.0145, allocations: 16.38 kB / 258.6 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.01452, allocations: 15.94 kB / 258.6 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.01563, allocations: 439.7 kB / 259 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.01819, allocations: 1.318 MB / 260.4 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.0192, allocations: 380.2 kB / 260.7 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.01967, allocations: 208.2 kB / 260.9 MB, free: 13.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.01971, allocations: 8.328 kB / 260.9 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.01976, allocations: 45.66 kB / 261 MB, free: 12.96 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.462e-06/0.01976, allocations: 4 kB / 261 MB, free: 12.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.004508/0.02426, allocations: 1.104 MB / 262.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.02439, allocations: 158.2 kB / 262.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.02489, allocations: 356.2 kB / 262.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.02493, allocations: 29.7 kB / 262.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.02515, allocations: 275.4 kB / 262.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.02529, allocations: 142.8 kB / 263 MB, free: 10.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.02545, allocations: 87.84 kB / 263.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002878/0.02574, allocations: 0.5274 MB / 263.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.02617, allocations: 168.9 kB / 263.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.02679, allocations: 404 kB / 264.2 MB, free: 9.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.02768, allocations: 425.2 kB / 264.6 MB, free: 9.117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.02769, allocations: 4 kB / 264.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001682/0.02938, allocations: 0.6408 MB / 265.3 MB, free: 8.457 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.0294, allocations: 8 kB / 265.3 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.0294, allocations: 3.938 kB / 265.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.03074, allocations: 319.1 kB / 265.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.03104, allocations: 75.83 kB / 265.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.03279, allocations: 1.881 MB / 267.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.03317, allocations: 63.81 kB / 267.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.03321, allocations: 19.94 kB / 267.6 MB, free: 6.023 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.03348, allocations: 204.5 kB / 267.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.03358, allocations: 51.77 kB / 267.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.03556, allocations: 0.6628 MB / 268.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.03557, allocations: 4 kB / 268.5 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.03557, allocations: 0 / 268.5 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.03558, allocations: 7.984 kB / 268.5 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.03616, allocations: 368.2 kB / 268.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.03617, allocations: 0 / 268.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.03644, allocations: 55.91 kB / 269 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.03768, allocations: 323 kB / 269.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.03771, allocations: 8 kB / 269.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.03951, allocations: 1.9 MB / 271.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.03951, allocations: 0 / 271.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.04194, allocations: 1.006 MB / 272.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.04202, allocations: 39.62 kB / 272.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.04208, allocations: 8 kB / 272.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.04235, allocations: 19.98 kB / 272.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.04244, allocations: 27.94 kB / 272.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.04247, allocations: 12 kB / 272.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000274/0.04274, allocations: 237.1 kB / 272.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04274, allocations: 3.938 kB / 272.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.04317, allocations: 111.8 kB / 272.6 MB, free: 0.8359 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.04336, allocations: 111.3 kB / 272.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.04455, allocations: 450.5 kB / 273.2 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.04455, allocations: 448 / 273.2 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.04513, allocations: 252.3 kB / 273.4 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.04553, allocations: 60.56 kB / 273.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.04719, allocations: 0.8026 MB / 274.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.04739, allocations: 191 kB / 274.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.04752, allocations: 26.98 kB / 274.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.04759, allocations: 28.48 kB / 274.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0476, allocations: 0 / 274.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of Templates: time 0.01115/0.05875, allocations: 4.994 MB / 279.5 MB, free: 9.902 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6238621609518304]