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.00254/0.00254, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002923/0.002923, allocations: 165.3 kB / 24.27 MB, free: 160 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.566/1.566, 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 2.564e-06/2.564e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.772e-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.005193/0.005231, allocations: 3.12 MB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.007408, allocations: 0.8272 MB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.007589, allocations: 11.94 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.007799, allocations: 67.36 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.008046, allocations: 122.8 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.008523, allocations: 155.7 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.009187, allocations: 0.5733 MB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.00949, allocations: 120.8 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.01001, allocations: 323.3 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.01034, allocations: 195.5 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.399e-05/0.01043, allocations: 52 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.01057, allocations: 59.98 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.0107, allocations: 119.6 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.01092, allocations: 167.6 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008022/0.01172, allocations: 0.5958 MB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01172, allocations: 0 / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01172, allocations: 0 / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.01173, allocations: 4 kB / 278.8 MB, free: 11.3 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.001695/0.01343, allocations: 0.8231 MB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01347, allocations: 8.031 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.01374, allocations: 92.59 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.01421, allocations: 259.3 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.01425, allocations: 29.38 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.01433, allocations: 44.31 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.01551, allocations: 0.65 MB / 280.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.01553, allocations: 192 / 280.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.01558, allocations: 16.38 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.0156, allocations: 19.92 kB / 280.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.01677, allocations: 443.7 kB / 281.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.01945, allocations: 1.295 MB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.02048, allocations: 380.2 kB / 282.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.02096, allocations: 216.2 kB / 283.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.021, allocations: 12.31 kB / 283.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.02104, allocations: 37.72 kB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.02105, allocations: 0 / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.004895/0.02594, allocations: 1.103 MB / 284.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.02608, allocations: 158.2 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.02652, allocations: 358.3 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.02656, allocations: 41.7 kB / 284.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.02679, allocations: 275.4 kB / 285 MB, free: 4.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.02694, allocations: 146.7 kB / 285.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.02712, allocations: 95.78 kB / 285.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/0.02743, allocations: 0.5274 MB / 285.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.02788, allocations: 160.9 kB / 285.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.02856, allocations: 411.9 kB / 286.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.02954, allocations: 421.3 kB / 286.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.02954, allocations: 4 kB / 286.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001816/0.03136, allocations: 0.6525 MB / 287.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.03138, allocations: 6.188 kB / 287.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.03139, allocations: 4 kB / 287.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.03276, allocations: 303.2 kB / 287.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.0331, allocations: 75.88 kB / 287.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.03498, allocations: 1.897 MB / 289.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.03534, allocations: 51.73 kB / 289.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.03538, allocations: 19.94 kB / 289.8 MB, free: 15.84 MB / 282.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.0002616/0.03564, allocations: 204.5 kB / 290 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.03575, allocations: 51.83 kB / 290 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.03807, allocations: 0.6591 MB / 290.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.03808, allocations: 4 kB / 290.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.03808, allocations: 0 / 290.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.03809, allocations: 3.984 kB / 290.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.03871, allocations: 376.2 kB / 291 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.03871, allocations: 4 kB / 291 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.03899, allocations: 47.97 kB / 291.1 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.04023, allocations: 315 kB / 291.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.04026, allocations: 8 kB / 291.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.04204, allocations: 1.908 MB / 293.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.04205, allocations: 4 kB / 293.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.04453, allocations: 1.002 MB / 294.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.04462, allocations: 35.64 kB / 294.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.04469, allocations: 12 kB / 294.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.04499, allocations: 23.97 kB / 294.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.04508, allocations: 27.98 kB / 294.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.04511, allocations: 12 kB / 294.4 MB, free: 11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002952/0.04541, allocations: 243 kB / 294.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04541, allocations: 0 / 294.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.04586, allocations: 111.8 kB / 294.8 MB, free: 10.65 MB / 282.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.0002098/0.04607, allocations: 115.2 kB / 294.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.04731, allocations: 458 kB / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04732, allocations: 0 / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.04794, allocations: 255.5 kB / 295.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.04835, allocations: 65.2 kB / 295.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.05009, allocations: 0.8097 MB / 296.5 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.05031, allocations: 199 kB / 296.7 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.05044, allocations: 26.98 kB / 296.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.05052, allocations: 28.5 kB / 296.7 MB, free: 8.656 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.05052, allocations: 0 / 296.7 MB, free: 8.656 MB / 282.7 MB Notification: Performance of Templates: time 0.01165/0.06217, allocations: 4.996 MB / 301.7 MB, free: 3.719 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] 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.775837942957878]