Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9209/0.9209, allocations: 173.4 MB / 201.5 MB, free: 8.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.123e-05, allocations: 6.25 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00442/0.004441, allocations: 3.099 MB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005995, allocations: 0.8191 MB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.006171, allocations: 4 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.006384, allocations: 71.3 kB / 272.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.006629, allocations: 118.8 kB / 272.6 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.007062, allocations: 159.6 kB / 272.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.007611, allocations: 0.5616 MB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.007848, allocations: 117.5 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.00827, allocations: 327.4 kB / 273.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.008547, allocations: 195.5 kB / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.008623, allocations: 48 kB / 274 MB, free: 488 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.008731, allocations: 56 kB / 274 MB, free: 432 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.008869, allocations: 115.6 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.009041, allocations: 171.6 kB / 274.3 MB, free: 144 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.009523, allocations: 394.6 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.009526, allocations: 0 / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.009527, allocations: 0 / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.009531, allocations: 4 kB / 274.7 MB, free: 15.75 MB / 266.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.001112/0.01064, allocations: 0.6636 MB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.01068, allocations: 12.92 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.0108, allocations: 64.88 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.01111, allocations: 212.5 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.01114, allocations: 25.38 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.01121, allocations: 40.38 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.01187, allocations: 0.5195 MB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01188, allocations: 192 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.01192, allocations: 12.38 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01193, allocations: 15.94 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.01225, allocations: 146.9 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.01386, allocations: 0.9306 MB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.01434, allocations: 215.4 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.01449, allocations: 89.47 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.01452, allocations: 12.31 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.01455, allocations: 38.89 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.01456, allocations: 0 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001991/0.01655, allocations: 0.7306 MB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.01661, allocations: 162.2 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01677, allocations: 247 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.0168, allocations: 33.7 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.01688, allocations: 189.1 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.01695, allocations: 154.7 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.01704, allocations: 78.09 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.01712, allocations: 346.8 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.0172, allocations: 52.97 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01735, allocations: 258 kB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.01756, allocations: 214.5 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01757, allocations: 3.984 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004767/0.01804, allocations: 338.9 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01806, allocations: 8 kB / 280.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01806, allocations: 0 / 280.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.01862, allocations: 241.4 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01878, allocations: 75.89 kB / 280.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005338/0.01931, allocations: 1.163 MB / 281.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.01947, allocations: 47.75 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01949, allocations: 12 kB / 282 MB, free: 8.039 MB / 266.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.0001015/0.01959, allocations: 137.8 kB / 282.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.01964, allocations: 43.98 kB / 282.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.02023, allocations: 401.3 kB / 282.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02023, allocations: 4 kB / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02024, allocations: 0 / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.02024, allocations: 0 / 282.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.02048, allocations: 237.3 kB / 282.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02048, allocations: 3.938 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.02062, allocations: 55.95 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.02107, allocations: 233.4 kB / 283.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.02108, allocations: 4 kB / 283.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.02158, allocations: 1.171 MB / 284.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.02158, allocations: 4 kB / 284.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.02224, allocations: 0.5394 MB / 284.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.02227, allocations: 31.75 kB / 284.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.0223, allocations: 11.97 kB / 284.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.02242, allocations: 27.98 kB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.02246, allocations: 27.94 kB / 284.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.02248, allocations: 4 kB / 284.9 MB, free: 5.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.02254, allocations: 84.64 kB / 285 MB, free: 4.922 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02254, allocations: 0 / 285 MB, free: 4.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000233/0.02278, allocations: 115.8 kB / 285.1 MB, free: 4.809 MB / 266.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.000132/0.02291, allocations: 96.42 kB / 285.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.02323, allocations: 228.3 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.02324, allocations: 4 kB / 285.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.02339, allocations: 148.7 kB / 285.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.0236, allocations: 56.03 kB / 285.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02462, allocations: 0.7236 MB / 286.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.02467, allocations: 101.1 kB / 286.4 MB, free: 3.402 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.02475, allocations: 26.98 kB / 286.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.02488, allocations: 115.3 kB / 286.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02488, allocations: 0 / 286.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of Templates: time 0.09115/0.116, allocations: 5.182 MB / 291.8 MB, free: 30.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7285800431855023]