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.00136/0.00136, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001637/0.001637, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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 1.372e-06/1.372e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.615e-05, allocations: 9.203 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003619/0.003636, allocations: 3.155 MB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004949, allocations: 0.8388 MB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.005114, allocations: 8 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.005297, allocations: 67.25 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.005477, allocations: 118.9 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.005868, allocations: 163.7 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.006319, allocations: 0.5616 MB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.006532, allocations: 124.8 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.006911, allocations: 331.3 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.00714, allocations: 195.4 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.007208, allocations: 52 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.007313, allocations: 60 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.007389, allocations: 115.6 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.007543, allocations: 175.6 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.008213, allocations: 386.7 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008215, allocations: 0 / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008216, allocations: 3.938 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.008224, allocations: 4 kB / 279.2 MB, free: 11.06 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.001025/0.009249, allocations: 0.8 MB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.009282, allocations: 11.98 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.009468, allocations: 92.59 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.009772, allocations: 255.3 kB / 280.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.009799, allocations: 29.38 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.009861, allocations: 40.38 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.01054, allocations: 0.5569 MB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01055, allocations: 192 / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.01058, allocations: 16.38 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.0106, allocations: 11.94 kB / 281.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.01101, allocations: 221.8 kB / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.0126, allocations: 1.142 MB / 282.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.01315, allocations: 278.9 kB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.01334, allocations: 128.2 kB / 282.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.01338, allocations: 12.31 kB / 282.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.0134, allocations: 41.72 kB / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.0134, allocations: 0 / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002395/0.0158, allocations: 0.857 MB / 283.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.01586, allocations: 158.2 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01607, allocations: 306.3 kB / 284.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.0161, allocations: 33.7 kB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01622, allocations: 267.3 kB / 284.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.0163, allocations: 146.8 kB / 284.6 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.01641, allocations: 79.84 kB / 284.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01655, allocations: 0.5118 MB / 285.2 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.01672, allocations: 84.94 kB / 285.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.01698, allocations: 312 kB / 285.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.01735, allocations: 261.3 kB / 285.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01735, allocations: 0 / 285.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006808/0.01803, allocations: 472.3 kB / 286.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.01804, allocations: 8 kB / 286.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01805, allocations: 0 / 286.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000707/0.01875, allocations: 255.1 kB / 286.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.01899, allocations: 75.83 kB / 286.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.02005, allocations: 1.744 MB / 288.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.0203, allocations: 59.7 kB / 288.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.02033, allocations: 15.94 kB / 288.5 MB, free: 1.34 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.0001414/0.02047, allocations: 184.6 kB / 288.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.02055, allocations: 43.81 kB / 288.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.02169, allocations: 495.2 kB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02169, allocations: 4 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.0217, allocations: 0 / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.0217, allocations: 0 / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.0221, allocations: 312 kB / 289.5 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02211, allocations: 4 kB / 289.5 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.02231, allocations: 51.91 kB / 289.5 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007924/0.0231, allocations: 259 kB / 289.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.02312, allocations: 11.98 kB / 289.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006865/0.02381, allocations: 1.756 MB / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02381, allocations: 0 / 291.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.02472, allocations: 0.7131 MB / 292.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.02475, allocations: 39.67 kB / 292.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.02478, allocations: 12 kB / 292.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.02492, allocations: 23.97 kB / 292.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.02496, allocations: 23.95 kB / 292.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.02498, allocations: 12 kB / 292.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.02508, allocations: 211 kB / 292.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02508, allocations: 0 / 292.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.02533, allocations: 115.8 kB / 292.7 MB, free: 12.94 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.0001067/0.02543, allocations: 115.2 kB / 292.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.02587, allocations: 298 kB / 293.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.02587, allocations: 4 kB / 293.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.02632, allocations: 172.1 kB / 293.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.02655, allocations: 49.33 kB / 293.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.0276, allocations: 0.7643 MB / 294.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.02766, allocations: 105.1 kB / 294.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.02773, allocations: 26.97 kB / 294.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.02778, allocations: 28.44 kB / 294.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02778, allocations: 0 / 294.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of Templates: time 0.00619/0.03397, allocations: 4.996 MB / 299.2 MB, free: 6.387 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.074724296107888]