Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002129/0.002129, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002736/0.002736, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 59.91 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1506, allocations: 53.31 MB / 427.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005552/0.1562, allocations: 3.181 MB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1581, allocations: 0.8585 MB / 431.2 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1583, allocations: 4 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1586, allocations: 59.38 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1588, allocations: 118.9 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1593, allocations: 159.7 kB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.16, allocations: 0.5502 MB / 432.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.1603, allocations: 124.4 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.1606, allocations: 223.3 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.161, allocations: 262.9 kB / 432.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.161, allocations: 52 kB / 432.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1612, allocations: 60 kB / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1613, allocations: 107.7 kB / 432.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1615, allocations: 246.9 kB / 433.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.1623, allocations: 0.5603 MB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1623, allocations: 0 / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1623, allocations: 4 kB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1623, allocations: 0 / 433.7 MB, free: 13.93 MB / 366.1 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.001865/0.1642, allocations: 0.8027 MB / 434.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1642, allocations: 12.03 kB / 434.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.1645, allocations: 64.53 kB / 434.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.165, allocations: 319.5 kB / 434.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.1651, allocations: 29.38 kB / 434.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.1651, allocations: 32.38 kB / 434.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1663, allocations: 0.5047 MB / 435.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1664, allocations: 0 / 435.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.1664, allocations: 20 kB / 435.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1664, allocations: 12 kB / 435.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.1678, allocations: 0.4957 MB / 436 MB, free: 11.54 MB / 366.1 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.003101/0.1709, allocations: 1.667 MB / 437.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1721, allocations: 399.7 kB / 438 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.1726, allocations: 223.8 kB / 438.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1727, allocations: 8.312 kB / 438.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.1727, allocations: 42.89 kB / 438.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.1727, allocations: 0 / 438.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.005076/0.1778, allocations: 1.353 MB / 439.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.1779, allocations: 166.1 kB / 439.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.1783, allocations: 278.9 kB / 440.1 MB, free: 7.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.1783, allocations: 37.7 kB / 440.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1785, allocations: 212.7 kB / 440.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1786, allocations: 142.7 kB / 440.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1788, allocations: 78.12 kB / 440.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.179, allocations: 342.8 kB / 440.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.1795, allocations: 184.7 kB / 441.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.1801, allocations: 282.5 kB / 441.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.1812, allocations: 426.5 kB / 441.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1812, allocations: 4 kB / 441.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001931/0.1831, allocations: 0.6782 MB / 442.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1831, allocations: 4 kB / 442.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.1832, allocations: 4 kB / 442.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.1846, allocations: 313.5 kB / 442.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.1849, allocations: 79.88 kB / 442.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.1866, allocations: 1.347 MB / 444.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.1871, allocations: 75.8 kB / 444.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.1872, allocations: 16 kB / 444.3 MB, free: 2.824 MB / 366.1 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.0002898/0.1875, allocations: 159 kB / 444.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.1875, allocations: 39.77 kB / 444.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.1898, allocations: 0.7276 MB / 445.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1898, allocations: 4 kB / 445.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1898, allocations: 7.938 kB / 445.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1898, allocations: 192 / 445.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.1905, allocations: 465.1 kB / 445.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1905, allocations: 3.938 kB / 445.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1908, allocations: 63.95 kB / 445.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.1921, allocations: 317.3 kB / 446 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.1921, allocations: 12 kB / 446 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2518/0.4439, allocations: 1.352 MB / 447.4 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4439, allocations: 0.625 kB / 447.4 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.4467, allocations: 1.013 MB / 448.4 MB, free: 24.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4468, allocations: 116 kB / 448.5 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.4469, allocations: 12.91 kB / 448.5 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4473, allocations: 47 kB / 448.6 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.4473, allocations: 20.22 kB / 448.6 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.4474, allocations: 12.69 kB / 448.6 MB, free: 24.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.4476, allocations: 199 kB / 448.8 MB, free: 24.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4476, allocations: 0 / 448.8 MB, free: 24.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.4481, allocations: 111.9 kB / 448.9 MB, free: 24.64 MB / 366.1 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.000171/0.4482, allocations: 113.9 kB / 449 MB, free: 24.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.4495, allocations: 460.3 kB / 449.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4495, allocations: 1.281 kB / 449.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.4501, allocations: 233.9 kB / 449.7 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.4505, allocations: 43.53 kB / 449.8 MB, free: 24.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.4522, allocations: 0.8837 MB / 450.6 MB, free: 24.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4524, allocations: 0.8031 MB / 451.4 MB, free: 23.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.4526, allocations: 28.66 kB / 451.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.4526, allocations: 27.86 kB / 451.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4526, allocations: 0 / 451.5 MB, free: 23.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01317/0.4658, allocations: 6.03 MB / 457.5 MB, free: 23.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.255654198117554]