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.001314/0.001314, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009751/0.0009751, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 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 0.954/0.954, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.273e-06/1.273e-06, allocations: 0 / 273.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.796e-05, allocations: 2.312 kB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002931/0.002949, allocations: 3.122 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004092, allocations: 0.862 MB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.004254, allocations: 11.94 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.004428, allocations: 63.3 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.0046, allocations: 122.9 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.004973, allocations: 163.7 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.005341, allocations: 0.5616 MB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.005518, allocations: 133.3 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.005838, allocations: 323.4 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.006022, allocations: 195.4 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.006075, allocations: 52 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.269e-05/0.006158, allocations: 63.98 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.006234, allocations: 115.6 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.006356, allocations: 171.6 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.006704, allocations: 394.6 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006707, allocations: 4 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006708, allocations: 0 / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006713, allocations: 0 / 279.8 MB, free: 10.82 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.0008185/0.007531, allocations: 0.6753 MB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.00757, allocations: 8.031 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.007768, allocations: 72.88 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.008001, allocations: 212.6 kB / 280.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.008024, allocations: 29.38 kB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.00807, allocations: 36.38 kB / 280.8 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.008525, allocations: 0.5156 MB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.008539, allocations: 8.125 kB / 281.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.008564, allocations: 16.38 kB / 281.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.008573, allocations: 15.88 kB / 281.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.008775, allocations: 146.9 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.009936, allocations: 0.9345 MB / 282.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.0103, allocations: 215.4 kB / 282.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.0104, allocations: 97.41 kB / 282.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01043, allocations: 12.31 kB / 282.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01046, allocations: 34.89 kB / 282.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.01046, allocations: 4 kB / 282.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001555/0.01202, allocations: 0.7191 MB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.01207, allocations: 170.2 kB / 283.7 MB, free: 6.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.01221, allocations: 254.9 kB / 283.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01223, allocations: 33.7 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.01231, allocations: 189.1 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.01237, allocations: 146.8 kB / 284.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.01246, allocations: 82.11 kB / 284.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.01254, allocations: 342.8 kB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.01261, allocations: 52.97 kB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.01276, allocations: 250 kB / 285 MB, free: 5.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.01296, allocations: 218.5 kB / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01296, allocations: 0 / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004943/0.01345, allocations: 338.9 kB / 285.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01347, allocations: 4 kB / 285.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01347, allocations: 7.984 kB / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.01399, allocations: 233.5 kB / 285.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01414, allocations: 71.89 kB / 285.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/0.01466, allocations: 1.171 MB / 287 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01481, allocations: 55.72 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01483, allocations: 11.98 kB / 287.1 MB, free: 3.086 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.000106/0.01493, allocations: 145.7 kB / 287.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.01498, allocations: 35.97 kB / 287.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.01556, allocations: 397.6 kB / 287.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01556, allocations: 4 kB / 287.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01556, allocations: 4 kB / 287.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01557, allocations: 4.031 kB / 287.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.0158, allocations: 225.6 kB / 287.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0158, allocations: 3.984 kB / 287.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.01593, allocations: 47.97 kB / 287.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.01637, allocations: 241.4 kB / 288.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01639, allocations: 7.984 kB / 288.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004668/0.01686, allocations: 1.167 MB / 289.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01686, allocations: 0 / 289.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.01751, allocations: 0.5396 MB / 289.9 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.01754, allocations: 35.64 kB / 289.9 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.01757, allocations: 19.97 kB / 289.9 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01769, allocations: 27.97 kB / 290 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.01773, allocations: 23.95 kB / 290 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.01775, allocations: 8 kB / 290 MB, free: 52 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.09773/0.1155, allocations: 84.44 kB / 290.1 MB, free: 26.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1155, allocations: 0 / 290.1 MB, free: 26.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.1158, allocations: 109.6 kB / 290.2 MB, free: 26.28 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.0001489/0.116, allocations: 89.7 kB / 290.3 MB, free: 26.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.1165, allocations: 228 kB / 290.5 MB, free: 26.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.1165, allocations: 4.219 kB / 290.5 MB, free: 26.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1167, allocations: 143.2 kB / 290.6 MB, free: 26.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1169, allocations: 52.77 kB / 290.7 MB, free: 26.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1181, allocations: 0.73 MB / 291.4 MB, free: 25.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.1182, allocations: 105.9 kB / 291.5 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1183, allocations: 30.17 kB / 291.6 MB, free: 25.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1184, allocations: 113 kB / 291.7 MB, free: 25.74 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1184, allocations: 0 / 291.7 MB, free: 25.74 MB / 266.7 MB Notification: Performance of Templates: time 0.00804/0.1265, allocations: 5.194 MB / 296.9 MB, free: 25.19 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=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","",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.8062275936827064]