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.001265/0.001265, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001539/0.001539, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.523e-06/1.523e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.861e-05, allocations: 5.547 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003642/0.00366, allocations: 3.151 MB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004873, allocations: 0.8388 MB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.00503, allocations: 7.938 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.005204, allocations: 59.31 kB / 277.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.005383, allocations: 130.8 kB / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.00574, allocations: 155.7 kB / 277.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.006211, allocations: 0.5694 MB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.00643, allocations: 120.8 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.006797, allocations: 323.4 kB / 278.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.007018, allocations: 191.5 kB / 278.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.007081, allocations: 52 kB / 278.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.007186, allocations: 67.97 kB / 278.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.00726, allocations: 107.6 kB / 278.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.007407, allocations: 175.6 kB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.007842, allocations: 394.6 kB / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007843, allocations: 0 / 279.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.007844, allocations: 4 kB / 279.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.007849, allocations: 0 / 279.4 MB, free: 11.49 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.001073/0.008922, allocations: 0.7922 MB / 280.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.008962, allocations: 12.03 kB / 280.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.009175, allocations: 88.59 kB / 280.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.009519, allocations: 263.3 kB / 280.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.009549, allocations: 25.38 kB / 280.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.009613, allocations: 48.31 kB / 280.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.01029, allocations: 0.5452 MB / 281.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01031, allocations: 192 / 281.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.01035, allocations: 20.36 kB / 281.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01036, allocations: 11.94 kB / 281.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.01079, allocations: 217.8 kB / 281.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.01244, allocations: 1.154 MB / 282.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.01302, allocations: 274.7 kB / 282.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.01323, allocations: 132.2 kB / 282.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.01326, allocations: 12.31 kB / 282.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.01329, allocations: 41.72 kB / 283 MB, free: 7.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.01329, allocations: 4 kB / 283 MB, free: 7.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002445/0.01574, allocations: 0.8532 MB / 283.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.0158, allocations: 158.2 kB / 284 MB, free: 6.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.01602, allocations: 310.3 kB / 284.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.01605, allocations: 29.7 kB / 284.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.01619, allocations: 259.4 kB / 284.6 MB, free: 5.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.01628, allocations: 150.7 kB / 284.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01639, allocations: 79.86 kB / 284.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01654, allocations: 0.5118 MB / 285.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.0167, allocations: 80.95 kB / 285.4 MB, free: 5.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.01697, allocations: 319.9 kB / 285.7 MB, free: 4.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.01736, allocations: 265.3 kB / 286 MB, free: 4.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01736, allocations: 0 / 286 MB, free: 4.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008452/0.0182, allocations: 476.1 kB / 286.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01822, allocations: 7.984 kB / 286.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.01823, allocations: 4 kB / 286.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.01898, allocations: 247.4 kB / 286.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.01919, allocations: 71.83 kB / 286.8 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/0.02006, allocations: 1.748 MB / 288.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.02026, allocations: 51.77 kB / 288.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.02029, allocations: 23.94 kB / 288.6 MB, free: 1.77 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.0001297/0.02042, allocations: 180.5 kB / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.0205, allocations: 51.75 kB / 288.8 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.0215, allocations: 487.2 kB / 289.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.02151, allocations: 4 kB / 289.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.02151, allocations: 0 / 289.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.02152, allocations: 7.984 kB / 289.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.02186, allocations: 312 kB / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.02186, allocations: 0 / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.02204, allocations: 51.95 kB / 289.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006436/0.02269, allocations: 259 kB / 289.9 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.02271, allocations: 8 kB / 289.9 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008562/0.02357, allocations: 1.76 MB / 291.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02357, allocations: 0 / 291.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.02474, allocations: 0.7092 MB / 292.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.02478, allocations: 43.62 kB / 292.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.02482, allocations: 8 kB / 292.4 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.02501, allocations: 27.92 kB / 292.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.02507, allocations: 27.94 kB / 292.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.0251, allocations: 12 kB / 292.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.02523, allocations: 211 kB / 292.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02523, allocations: 4.031 kB / 292.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02558, allocations: 111.8 kB / 292.8 MB, free: 13.36 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.0001265/0.02571, allocations: 111.2 kB / 292.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.02627, allocations: 298.3 kB / 293.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02627, allocations: 4.062 kB / 293.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.02654, allocations: 175.6 kB / 293.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.02688, allocations: 56.02 kB / 293.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.02823, allocations: 0.7634 MB / 294.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.593e-05/0.0283, allocations: 101.1 kB / 294.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.02841, allocations: 30.97 kB / 294.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.02847, allocations: 24.5 kB / 294.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02847, allocations: 4 kB / 294.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Templates: time 0.007957/0.03642, allocations: 4.997 MB / 299.4 MB, free: 6.816 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","",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.0954947620630264]