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.001465/0.001465, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001324/0.001324, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.457/1.457, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001521/0.001521, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3258, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004777/0.3306, allocations: 3.169 MB / 424 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3321, allocations: 0.7962 MB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.3323, allocations: 8 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3325, allocations: 63.38 kB / 424.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3328, allocations: 114.9 kB / 425 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3332, allocations: 151.7 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000585/0.3338, allocations: 0.5502 MB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.334, allocations: 124.4 kB / 425.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.3343, allocations: 219.3 kB / 426.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.3346, allocations: 255 kB / 426.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.3347, allocations: 48 kB / 426.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3348, allocations: 60 kB / 426.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.3349, allocations: 119.5 kB / 426.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.3351, allocations: 234.9 kB / 426.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.3358, allocations: 0.5499 MB / 427.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3358, allocations: 0 / 427.3 MB, free: 8.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3358, allocations: 4 kB / 427.3 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3358, allocations: 0 / 427.3 MB, free: 8.648 MB / 334.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.001644/0.3374, allocations: 0.8066 MB / 428.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3375, allocations: 8.031 kB / 428.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3376, allocations: 48.66 kB / 428.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.3381, allocations: 322.7 kB / 428.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.3381, allocations: 29.38 kB / 428.5 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.3382, allocations: 36.38 kB / 428.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3393, allocations: 0.5007 MB / 429.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3393, allocations: 0 / 429.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.3393, allocations: 23.92 kB / 429.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3394, allocations: 8 kB / 429.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.3407, allocations: 0.4957 MB / 429.6 MB, free: 6.266 MB / 334.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.002876/0.3436, allocations: 1.671 MB / 431.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3447, allocations: 403.7 kB / 431.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.3453, allocations: 220.8 kB / 431.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.3453, allocations: 12.25 kB / 431.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3453, allocations: 42.89 kB / 431.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.718e-06/0.3453, allocations: 3.984 kB / 431.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004908/0.3503, allocations: 1.365 MB / 433.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.3504, allocations: 162.2 kB / 433.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.3508, allocations: 263 kB / 433.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.3509, allocations: 33.7 kB / 433.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3511, allocations: 220.7 kB / 433.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3512, allocations: 134.8 kB / 434.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3513, allocations: 78.08 kB / 434.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3515, allocations: 350.8 kB / 434.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.352, allocations: 176.8 kB / 434.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.3526, allocations: 282.5 kB / 434.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/0.3536, allocations: 434.5 kB / 435.4 MB, free: 136 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3536, allocations: 0 / 435.4 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00193/0.3555, allocations: 0.6704 MB / 436 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3556, allocations: 4 kB / 436 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3556, allocations: 7.984 kB / 436.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.357, allocations: 325.4 kB / 436.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.3574, allocations: 79.88 kB / 436.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.3589, allocations: 1.351 MB / 437.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.3594, allocations: 71.66 kB / 437.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.3595, allocations: 24.05 kB / 437.9 MB, free: 13.54 MB / 350.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.000258/0.3597, allocations: 157.8 kB / 438 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.3598, allocations: 35.77 kB / 438.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.362, allocations: 0.7123 MB / 438.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.362, allocations: 4 kB / 438.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.362, allocations: 8 kB / 438.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.362, allocations: 3.984 kB / 438.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.3628, allocations: 464.9 kB / 439.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3628, allocations: 0 / 439.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.3631, allocations: 59.89 kB / 439.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.3643, allocations: 325.4 kB / 439.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.3644, allocations: 12 kB / 439.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.3657, allocations: 1.358 MB / 441 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3657, allocations: 3.984 kB / 441 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.3683, allocations: 1.016 MB / 442 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3684, allocations: 116.8 kB / 442.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.3684, allocations: 8 kB / 442.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3688, allocations: 52.19 kB / 442.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3689, allocations: 23.97 kB / 442.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3689, allocations: 15.94 kB / 442.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.3691, allocations: 189.9 kB / 442.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3691, allocations: 0 / 442.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.3696, allocations: 115.8 kB / 442.5 MB, free: 8.715 MB / 350.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.0001997/0.3698, allocations: 121.2 kB / 442.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3711, allocations: 455.4 kB / 443.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3711, allocations: 0 / 443.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.3717, allocations: 256.2 kB / 443.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3721, allocations: 39.22 kB / 443.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3739, allocations: 0.8768 MB / 444.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.3743, allocations: 0.7917 MB / 445.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.3745, allocations: 34.95 kB / 445.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.3746, allocations: 31.38 kB / 445.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3746, allocations: 4 kB / 445.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Templates: time 0.01266/0.3872, allocations: 6.21 MB / 451.3 MB, free: 15.88 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.685041360557079]