Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009688/0.0009688, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.00118/0.00118, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9423/0.9423, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.812e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00349/0.003519, allocations: 3.078 MB / 254.2 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004838, allocations: 0.8236 MB / 255 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.004992, allocations: 4 kB / 255 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.005154, allocations: 59.38 kB / 255.1 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.005315, allocations: 126.8 kB / 255.2 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.005701, allocations: 151.7 kB / 255.4 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.006183, allocations: 0.546 MB / 255.9 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.006429, allocations: 112.8 kB / 256 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.006757, allocations: 319.3 kB / 256.3 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.006962, allocations: 195.5 kB / 256.5 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.007016, allocations: 52 kB / 256.6 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.007107, allocations: 60 kB / 256.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.007174, allocations: 119.6 kB / 256.7 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.007296, allocations: 163.6 kB / 256.9 MB, free: 1.98 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.007674, allocations: 386.7 kB / 257.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.007678, allocations: 0 / 257.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007679, allocations: 0 / 257.3 MB, free: 1.598 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.007685, allocations: 0 / 257.3 MB, free: 1.598 MB / 234.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.001/0.008685, allocations: 0.7883 MB / 258.1 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.008726, allocations: 11.98 kB / 258.1 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.008839, allocations: 84.64 kB / 258.2 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.009133, allocations: 255.3 kB / 258.4 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.009161, allocations: 29.38 kB / 258.4 MB, free: 380 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.009216, allocations: 40.38 kB / 258.5 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.009819, allocations: 0.553 MB / 259 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.009833, allocations: 192 / 259 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.009866, allocations: 16.38 kB / 259 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.00988, allocations: 15.94 kB / 259.1 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.01024, allocations: 217.8 kB / 259.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.0117, allocations: 1.134 MB / 260.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.01225, allocations: 276.2 kB / 260.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.01244, allocations: 128.3 kB / 260.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.01248, allocations: 12.31 kB / 260.8 MB, free: 13.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.0125, allocations: 41.72 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.01251, allocations: 0 / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002078/0.01458, allocations: 0.8619 MB / 261.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.01466, allocations: 162.2 kB / 261.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.01497, allocations: 304.2 kB / 262.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.01499, allocations: 33.7 kB / 262.2 MB, free: 12.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01511, allocations: 259.4 kB / 262.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/0.01519, allocations: 142.8 kB / 262.6 MB, free: 11.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.01528, allocations: 79.84 kB / 262.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.01541, allocations: 0.5157 MB / 263.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.01557, allocations: 84.95 kB / 263.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.01581, allocations: 316 kB / 263.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.01628, allocations: 265.3 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01629, allocations: 0 / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007449/0.01703, allocations: 464.4 kB / 264.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01705, allocations: 7.938 kB / 264.3 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01706, allocations: 4 kB / 264.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/0.01777, allocations: 251.1 kB / 264.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.01795, allocations: 75.83 kB / 264.6 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008457/0.01879, allocations: 1.748 MB / 266.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.01898, allocations: 59.69 kB / 266.4 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.019, allocations: 19.94 kB / 266.5 MB, free: 7.906 MB / 250.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.0001285/0.01913, allocations: 176.5 kB / 266.6 MB, free: 7.723 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.01919, allocations: 47.77 kB / 266.7 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008442/0.02003, allocations: 0.491 MB / 267.2 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02004, allocations: 4 kB / 267.2 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02004, allocations: 0 / 267.2 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.02005, allocations: 7.984 kB / 267.2 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.02064, allocations: 304.3 kB / 267.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02064, allocations: 0 / 267.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.02079, allocations: 51.91 kB / 267.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/0.02135, allocations: 259 kB / 267.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.02138, allocations: 11.98 kB / 267.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007381/0.02212, allocations: 1.756 MB / 269.5 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02212, allocations: 0 / 269.5 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009676/0.02309, allocations: 0.7094 MB / 270.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.02313, allocations: 35.62 kB / 270.3 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.02317, allocations: 12 kB / 270.3 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.02331, allocations: 27.97 kB / 270.3 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.02337, allocations: 27.98 kB / 270.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.02339, allocations: 16 kB / 270.4 MB, free: 3.824 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.0235, allocations: 205.1 kB / 270.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0235, allocations: 0 / 270.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.02379, allocations: 115.8 kB / 270.7 MB, free: 3.508 MB / 250.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.0001466/0.02394, allocations: 107.2 kB / 270.8 MB, free: 3.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.02446, allocations: 294.6 kB / 271.1 MB, free: 3.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02446, allocations: 4 kB / 271.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.02468, allocations: 168.3 kB / 271.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.02498, allocations: 48.77 kB / 271.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.02635, allocations: 0.7596 MB / 272 MB, free: 2.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.562e-05/0.02641, allocations: 105 kB / 272.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.0265, allocations: 30.97 kB / 272.2 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.02656, allocations: 28.5 kB / 272.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02656, allocations: 0 / 272.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of Templates: time 0.007736/0.03429, allocations: 4.989 MB / 277.2 MB, free: 12.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9877152550034225]