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.001058/0.001058, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001315/0.001315, allocations: 163 kB / 24.99 MB, free: 9.324 MB / 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 0.9895/0.9895, allocations: 177 MB / 205.2 MB, free: 5.223 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.373e-06/1.373e-06, allocations: 3.938 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.646e-05, allocations: 5.266 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003816/0.003853, allocations: 3.151 MB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.005496, allocations: 0.831 MB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.005685, allocations: 8 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.00587, allocations: 71.23 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.006041, allocations: 114.9 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.00649, allocations: 175.6 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.006944, allocations: 0.5577 MB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.00716, allocations: 120.8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.00766, allocations: 331.3 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.007914, allocations: 195.4 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.007973, allocations: 52 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.008073, allocations: 56 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.008136, allocations: 115.6 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.008283, allocations: 175.6 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.00874, allocations: 394.7 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008745, allocations: 3.938 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008746, allocations: 0 / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.008755, allocations: 4 kB / 279.3 MB, free: 11.2 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.00125/0.01, allocations: 0.7922 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.01004, allocations: 11.98 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.01028, allocations: 88.61 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.01065, allocations: 271.3 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.01068, allocations: 25.38 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.01074, allocations: 44.38 kB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.01137, allocations: 0.5491 MB / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.01138, allocations: 192 / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.01142, allocations: 16.38 kB / 281.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01143, allocations: 11.94 kB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.01179, allocations: 217.8 kB / 281.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.01328, allocations: 1.142 MB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.0138, allocations: 276.2 kB / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.01398, allocations: 128.2 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.01401, allocations: 12.33 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.01404, allocations: 41.72 kB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.124e-06/0.01404, allocations: 3.938 kB / 282.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001984/0.01602, allocations: 0.8571 MB / 283.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.01609, allocations: 162.2 kB / 284 MB, free: 6.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01628, allocations: 302.3 kB / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.01631, allocations: 37.7 kB / 284.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01642, allocations: 259.4 kB / 284.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.0165, allocations: 146.7 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.01659, allocations: 79.84 kB / 284.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01672, allocations: 0.5118 MB / 285.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.01687, allocations: 84.95 kB / 285.4 MB, free: 4.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.0171, allocations: 312 kB / 285.7 MB, free: 4.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.01742, allocations: 265.3 kB / 285.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01742, allocations: 0 / 285.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006786/0.0181, allocations: 464.2 kB / 286.4 MB, free: 3.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01812, allocations: 12.22 kB / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01812, allocations: 0 / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/0.01878, allocations: 255 kB / 286.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.01894, allocations: 75.88 kB / 286.7 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/0.01992, allocations: 1.737 MB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.02011, allocations: 67.75 kB / 288.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.02017, allocations: 19.94 kB / 288.5 MB, free: 1.488 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.0001345/0.0203, allocations: 176.5 kB / 288.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.02036, allocations: 47.81 kB / 288.7 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/0.02119, allocations: 499.2 kB / 289.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.02119, allocations: 8 kB / 289.2 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.0212, allocations: 0 / 289.2 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.02121, allocations: 3.984 kB / 289.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.02152, allocations: 308 kB / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02152, allocations: 4 kB / 289.5 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.02167, allocations: 51.89 kB / 289.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.02221, allocations: 251.1 kB / 289.8 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.02223, allocations: 12 kB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1142/0.1364, allocations: 1.754 MB / 291.6 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1364, allocations: 3.75 kB / 291.6 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1375, allocations: 0.7124 MB / 292.3 MB, free: 26.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1376, allocations: 37.12 kB / 292.4 MB, free: 26.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.1376, allocations: 8.625 kB / 292.4 MB, free: 26.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1378, allocations: 26.06 kB / 292.4 MB, free: 26.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.1379, allocations: 26.23 kB / 292.4 MB, free: 26.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1379, allocations: 12.67 kB / 292.4 MB, free: 26.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.138, allocations: 211.3 kB / 292.6 MB, free: 26.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.138, allocations: 0 / 292.6 MB, free: 26.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.1384, allocations: 112.5 kB / 292.8 MB, free: 26.52 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.0001603/0.1385, allocations: 108.7 kB / 292.9 MB, free: 26.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006007/0.1391, allocations: 294.9 kB / 293.1 MB, free: 26.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1392, allocations: 1.156 kB / 293.1 MB, free: 26.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.1394, allocations: 169.8 kB / 293.3 MB, free: 26.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1397, allocations: 54.53 kB / 293.4 MB, free: 26.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1411, allocations: 0.7645 MB / 294.1 MB, free: 26.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.1412, allocations: 101.5 kB / 294.2 MB, free: 25.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1413, allocations: 33.11 kB / 294.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.1413, allocations: 24.17 kB / 294.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1413, allocations: 3.609 kB / 294.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of Templates: time 0.0083/0.1496, allocations: 5.011 MB / 299.3 MB, free: 25.08 MB / 266.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: 2.9992783591151237]