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.001393/0.001393, allocations: 82.17 kB / 21.42 MB, free: 3.078 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.001431/0.001431, allocations: 154.9 kB / 24.81 MB, free: 8.777 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 1.068/1.068, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.843e-06/1.843e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.348e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003973/0.003997, allocations: 3.096 MB / 271.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.005429, allocations: 0.7804 MB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.005609, allocations: 8 kB / 272.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.00578, allocations: 63.31 kB / 272.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.005982, allocations: 126.8 kB / 272.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.006362, allocations: 155.7 kB / 272.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.006833, allocations: 0.5655 MB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.007043, allocations: 120.8 kB / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.007399, allocations: 315.4 kB / 273.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.007623, allocations: 195.5 kB / 273.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.007689, allocations: 52 kB / 273.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.007786, allocations: 52 kB / 273.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.007861, allocations: 119.6 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.008, allocations: 171.6 kB / 274.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.008405, allocations: 394.7 kB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.008407, allocations: 4 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008408, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.008413, allocations: 0 / 274.6 MB, free: 15.98 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.0009878/0.009401, allocations: 0.7921 MB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.009441, allocations: 12.92 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.009551, allocations: 80.64 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.009833, allocations: 259.3 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.009862, allocations: 37.31 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.009916, allocations: 36.38 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.0105, allocations: 0.5178 MB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01052, allocations: 192 / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.01055, allocations: 16.38 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.01057, allocations: 11.94 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.01086, allocations: 178.8 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.01243, allocations: 1.142 MB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.01289, allocations: 240.2 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.01303, allocations: 111.3 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.01307, allocations: 16.31 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.0131, allocations: 45.7 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.0131, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00218/0.01528, allocations: 0.81 MB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.01534, allocations: 158.2 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.01554, allocations: 306.2 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.01557, allocations: 37.64 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.0157, allocations: 259.4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.01579, allocations: 142.7 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.0159, allocations: 87.81 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.01606, allocations: 0.5156 MB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.01617, allocations: 56.95 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.01639, allocations: 303.9 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.01971, allocations: 237.2 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.01971, allocations: 4 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007257/0.02044, allocations: 424.4 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.02045, allocations: 6.969 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.02046, allocations: 4 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006663/0.02113, allocations: 251 kB / 281.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.02132, allocations: 67.89 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008356/0.02216, allocations: 1.733 MB / 283.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.02537, allocations: 55.7 kB / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.0254, allocations: 11.94 kB / 283.5 MB, free: 6.578 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.0001317/0.02554, allocations: 180.5 kB / 283.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.02561, allocations: 43.81 kB / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.02647, allocations: 462.8 kB / 284.2 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.02647, allocations: 4 kB / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02648, allocations: 0 / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02648, allocations: 0 / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.02679, allocations: 268.8 kB / 284.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02679, allocations: 3.984 kB / 284.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.02696, allocations: 55.95 kB / 284.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/0.02757, allocations: 243.1 kB / 284.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.0276, allocations: 8 kB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.03144, allocations: 1.752 MB / 286.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.03144, allocations: 0 / 286.5 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009941/0.03244, allocations: 0.6466 MB / 287.1 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.03247, allocations: 35.7 kB / 287.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.03251, allocations: 15.92 kB / 287.2 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.03269, allocations: 23.98 kB / 287.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.03274, allocations: 23.95 kB / 287.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.03276, allocations: 12.02 kB / 287.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.03287, allocations: 203 kB / 287.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03287, allocations: 0 / 287.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000342/0.03321, allocations: 111.8 kB / 287.5 MB, free: 2.363 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.0001399/0.03335, allocations: 119.2 kB / 287.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.0338, allocations: 259 kB / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.0338, allocations: 3.938 kB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.03402, allocations: 159.7 kB / 288.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/0.03835, allocations: 52.62 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.03962, allocations: 0.7373 MB / 288.9 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.03968, allocations: 101.1 kB / 289 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.03979, allocations: 34.97 kB / 289 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.03996, allocations: 134.2 kB / 289.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03996, allocations: 0 / 289.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of Templates: time 0.1136/0.1535, allocations: 5.275 MB / 294.4 MB, free: 30.34 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.9245815030299127]