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.0008944/0.0008944, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008791/0.0008791, allocations: 143.2 kB / 24.89 MB, free: 8.773 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.911/0.911, allocations: 173.4 MB / 201.5 MB, free: 8.234 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.312e-06/1.312e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.686e-05, allocations: 3.969 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003039/0.003056, allocations: 3.138 MB / 271.7 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004336, allocations: 0.8151 MB / 272.5 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.004477, allocations: 4 kB / 272.5 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.004637, allocations: 71.3 kB / 272.6 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.004795, allocations: 120.6 kB / 272.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.005138, allocations: 152.3 kB / 272.8 MB, free: 5.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.00554, allocations: 0.5621 MB / 273.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.005734, allocations: 125.5 kB / 273.5 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.006097, allocations: 320.1 kB / 273.8 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.006313, allocations: 199.9 kB / 274 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.006368, allocations: 52 kB / 274.1 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.006472, allocations: 60 kB / 274.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.00654, allocations: 115.6 kB / 274.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.006652, allocations: 171.6 kB / 274.4 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.00698, allocations: 382.8 kB / 274.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006982, allocations: 0 / 274.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006982, allocations: 0 / 274.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.006987, allocations: 4 kB / 274.8 MB, free: 3.484 MB / 250.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.0007523/0.00774, allocations: 0.6674 MB / 275.4 MB, free: 2.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.007771, allocations: 12.03 kB / 275.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.007845, allocations: 68.88 kB / 275.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.008066, allocations: 208.5 kB / 275.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.008088, allocations: 25.38 kB / 275.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.008131, allocations: 40.38 kB / 275.8 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.008556, allocations: 0.5079 MB / 276.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.008569, allocations: 4.188 kB / 276.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.008593, allocations: 20.36 kB / 276.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.008601, allocations: 15.94 kB / 276.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.008794, allocations: 150.8 kB / 276.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.009935, allocations: 0.9306 MB / 277.4 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.01028, allocations: 217.4 kB / 277.6 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.01037, allocations: 91.53 kB / 277.7 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.0104, allocations: 24.19 kB / 277.7 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.01042, allocations: 34.89 kB / 277.8 MB, free: 320 kB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.01042, allocations: 0 / 277.8 MB, free: 320 kB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001508/0.01193, allocations: 0.7307 MB / 278.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.01198, allocations: 162.2 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.01211, allocations: 247 kB / 278.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01213, allocations: 29.7 kB / 278.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.01221, allocations: 193.1 kB / 279.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.01227, allocations: 150.7 kB / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01239, allocations: 78.16 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.01247, allocations: 346.7 kB / 279.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.01255, allocations: 56.97 kB / 279.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01269, allocations: 254 kB / 280 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.01289, allocations: 218.5 kB / 280.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01289, allocations: 0 / 280.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000455/0.01334, allocations: 338.9 kB / 280.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01336, allocations: 8 kB / 280.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01336, allocations: 0 / 280.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.01389, allocations: 241.5 kB / 280.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.01408, allocations: 79.81 kB / 280.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005151/0.01459, allocations: 1.163 MB / 282 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.01474, allocations: 63.64 kB / 282.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01476, allocations: 12 kB / 282.1 MB, free: 11.75 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 9.06e-05/0.01485, allocations: 129.8 kB / 282.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.0149, allocations: 31.97 kB / 282.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.01547, allocations: 413.3 kB / 282.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01547, allocations: 4 kB / 282.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01548, allocations: 0 / 282.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01548, allocations: 4.031 kB / 282.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.0157, allocations: 233.5 kB / 282.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01571, allocations: 0 / 282.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.01586, allocations: 59.89 kB / 283 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.01632, allocations: 241.4 kB / 283.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.01634, allocations: 11.94 kB / 283.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004657/0.0168, allocations: 1.159 MB / 284.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0168, allocations: 0 / 284.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.01745, allocations: 0.5431 MB / 284.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.01748, allocations: 35.64 kB / 284.9 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.01751, allocations: 8 kB / 284.9 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01763, allocations: 32 kB / 285 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.01767, allocations: 19.95 kB / 285 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01769, allocations: 15.98 kB / 285 MB, free: 8.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.604e-05/0.01775, allocations: 80.66 kB / 285.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01775, allocations: 0 / 285.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01797, allocations: 111.8 kB / 285.2 MB, free: 8.523 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 9.965e-05/0.01806, allocations: 100.3 kB / 285.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.01838, allocations: 240.1 kB / 285.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01838, allocations: 0 / 285.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.01853, allocations: 129.2 kB / 285.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.01873, allocations: 61.06 kB / 285.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.01972, allocations: 0.7428 MB / 286.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.01977, allocations: 97.12 kB / 286.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.996e-05/0.01986, allocations: 30.97 kB / 286.6 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01999, allocations: 111.3 kB / 286.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01999, allocations: 0 / 286.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of Templates: time 0.007016/0.02701, allocations: 5.277 MB / 292 MB, free: 1.766 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 -s gbode -gbm=radauIIA3 -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.692954992875457]