Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001447/0.001447, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001552/0.001552, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.703e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005328/0.005355, allocations: 2.928 MB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.007441, allocations: 0.8272 MB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.007638, allocations: 7.938 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.007848, allocations: 67.36 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.008091, allocations: 122.8 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.008647, allocations: 159.7 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.009363, allocations: 0.5694 MB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.009747, allocations: 120.8 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005666/0.01031, allocations: 323.3 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.01064, allocations: 191.5 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.01073, allocations: 52 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.01088, allocations: 59.98 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.011, allocations: 123.6 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.01121, allocations: 163.6 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.01213, allocations: 0.5919 MB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01213, allocations: 4 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01213, allocations: 0 / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.01214, allocations: 0 / 278.6 MB, free: 11.5 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.001774/0.01392, allocations: 0.7273 MB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.01396, allocations: 12.03 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.01424, allocations: 88.61 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.01478, allocations: 260.5 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.01482, allocations: 29.38 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.01491, allocations: 44.31 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.0167, allocations: 0.6478 MB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.01673, allocations: 4.188 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.01678, allocations: 12.38 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.01679, allocations: 15.94 kB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.01822, allocations: 0.4996 MB / 280.9 MB, free: 9.066 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.02091, allocations: 1.194 MB / 282.1 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.02212, allocations: 395.7 kB / 282.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.0227, allocations: 221.3 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.02274, allocations: 12.33 kB / 282.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.02278, allocations: 42.88 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.02278, allocations: 0 / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.005225/0.02801, allocations: 1.215 MB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.02815, allocations: 162.2 kB / 284.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.02856, allocations: 272.1 kB / 284.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.02861, allocations: 33.7 kB / 284.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.02881, allocations: 212.7 kB / 284.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.02896, allocations: 150.7 kB / 284.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.02912, allocations: 90.08 kB / 284.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.02933, allocations: 334.8 kB / 285.2 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.02988, allocations: 188.9 kB / 285.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/0.0306, allocations: 385.9 kB / 285.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.03168, allocations: 418.6 kB / 286.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.03168, allocations: 0 / 286.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002057/0.03374, allocations: 0.6977 MB / 286.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.03376, allocations: 4 kB / 286.9 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.03377, allocations: 4 kB / 286.9 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.03543, allocations: 317.5 kB / 287.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.0358, allocations: 83.81 kB / 287.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.03743, allocations: 1.358 MB / 288.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.03791, allocations: 67.75 kB / 288.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.03796, allocations: 19.94 kB / 288.7 MB, free: 0.9336 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.0002507/0.03821, allocations: 157.8 kB / 288.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.03832, allocations: 47.83 kB / 288.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1225/0.1608, allocations: 0.7159 MB / 289.7 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.1609, allocations: 5.062 kB / 289.7 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.1609, allocations: 0 / 289.7 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.1609, allocations: 3.766 kB / 289.7 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/0.1618, allocations: 318.8 kB / 290 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1618, allocations: 0.75 kB / 290 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.1623, allocations: 59.06 kB / 290 MB, free: 28.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.1646, allocations: 326.8 kB / 290.4 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.1647, allocations: 11.22 kB / 290.4 MB, free: 28.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1666, allocations: 1.366 MB / 291.7 MB, free: 27.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1666, allocations: 1.359 kB / 291.7 MB, free: 27.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.1713, allocations: 1.031 MB / 292.8 MB, free: 27.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1714, allocations: 42.03 kB / 292.8 MB, free: 27.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.1715, allocations: 7.297 kB / 292.8 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.1722, allocations: 45.78 kB / 292.9 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1723, allocations: 24.11 kB / 292.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.1724, allocations: 10.06 kB / 292.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003967/0.1728, allocations: 191.2 kB / 293.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1728, allocations: 1.094 kB / 293.1 MB, free: 27.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007524/0.1735, allocations: 115.7 kB / 293.2 MB, free: 27.11 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.0002126/0.1737, allocations: 107.9 kB / 293.3 MB, free: 27.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.176, allocations: 466.5 kB / 293.8 MB, free: 26.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.176, allocations: 1.094 kB / 293.8 MB, free: 26.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.1771, allocations: 242.7 kB / 294 MB, free: 26.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.1778, allocations: 59.64 kB / 294.1 MB, free: 26.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1803, allocations: 0.8087 MB / 294.9 MB, free: 26.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1806, allocations: 193.6 kB / 295 MB, free: 26.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.1808, allocations: 32.59 kB / 295.1 MB, free: 26.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1809, allocations: 27.8 kB / 295.1 MB, free: 26.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1809, allocations: 0 / 295.1 MB, free: 26.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01635/0.1973, allocations: 4.978 MB / 300.1 MB, free: 25.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.701791609986685]