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.002437/0.002437, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002479/0.002479, allocations: 160.8 kB / 24.27 MB, free: 152 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.633/1.633, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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 2.154e-06/2.154e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.49e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.006064/0.006099, allocations: 3.119 MB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.008113, allocations: 0.8349 MB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.008302, allocations: 4 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.008524, allocations: 59.38 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.008772, allocations: 130.8 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.00926, allocations: 163.7 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.009946, allocations: 0.5655 MB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.01023, allocations: 120.8 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.01077, allocations: 331.3 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.0111, allocations: 195.5 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.0112, allocations: 56 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.01134, allocations: 56 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.01147, allocations: 115.6 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.01169, allocations: 175.6 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.01251, allocations: 0.5842 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01251, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01252, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.01252, allocations: 0 / 278.7 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.001707/0.01423, allocations: 0.8309 MB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.01427, allocations: 15.98 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.01454, allocations: 92.59 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.015, allocations: 263.3 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.01504, allocations: 25.38 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.01512, allocations: 44.38 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.01628, allocations: 0.65 MB / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.0163, allocations: 4.188 kB / 280.6 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.01635, allocations: 16.38 kB / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01636, allocations: 15.88 kB / 280.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.01755, allocations: 443.7 kB / 281.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.02026, allocations: 1.299 MB / 282.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.02134, allocations: 380.2 kB / 282.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.02183, allocations: 212.2 kB / 282.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.02187, allocations: 12.33 kB / 283 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.02191, allocations: 41.72 kB / 283 MB, free: 6.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.02191, allocations: 0 / 283 MB, free: 6.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.004676/0.02659, allocations: 1.107 MB / 284.1 MB, free: 5.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.02672, allocations: 158.2 kB / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.02719, allocations: 358.3 kB / 284.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.02724, allocations: 37.7 kB / 284.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.02746, allocations: 267.4 kB / 284.9 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.02761, allocations: 158.6 kB / 285.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.02779, allocations: 95.78 kB / 285.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003765/0.02817, allocations: 0.5235 MB / 285.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.02863, allocations: 164.9 kB / 285.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.02928, allocations: 407.9 kB / 286.2 MB, free: 3.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/0.03023, allocations: 425.2 kB / 286.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.03023, allocations: 0 / 286.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001905/0.03214, allocations: 0.6446 MB / 287.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.03216, allocations: 4.219 kB / 287.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.03217, allocations: 8 kB / 287.3 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.03354, allocations: 311 kB / 287.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.03387, allocations: 75.83 kB / 287.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.03572, allocations: 1.889 MB / 289.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.03609, allocations: 47.83 kB / 289.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.03613, allocations: 23.92 kB / 289.6 MB, free: 15.82 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.0002596/0.03639, allocations: 204.5 kB / 289.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.0365, allocations: 47.77 kB / 289.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.03859, allocations: 0.663 MB / 290.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.03861, allocations: 4 kB / 290.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.03861, allocations: 0 / 290.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.03862, allocations: 0 / 290.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.0395, allocations: 384 kB / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.03951, allocations: 0 / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.03979, allocations: 51.91 kB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.04107, allocations: 319 kB / 291.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.04111, allocations: 12 kB / 291.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.04295, allocations: 1.9 MB / 293.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.04296, allocations: 0 / 293.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.0456, allocations: 1.002 MB / 294.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.04569, allocations: 43.62 kB / 294.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.04576, allocations: 12 kB / 294.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.04605, allocations: 19.98 kB / 294.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.04615, allocations: 27.94 kB / 294.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.04619, allocations: 12 kB / 294.3 MB, free: 10.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003035/0.04649, allocations: 243 kB / 294.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04649, allocations: 0 / 294.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004559/0.04695, allocations: 111.8 kB / 294.7 MB, free: 10.62 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.0002049/0.04715, allocations: 115.2 kB / 294.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.04842, allocations: 462.3 kB / 295.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.04842, allocations: 0 / 295.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.04903, allocations: 251.5 kB / 295.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.04944, allocations: 48.64 kB / 295.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.05122, allocations: 0.8227 MB / 296.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.05145, allocations: 195 kB / 296.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.05158, allocations: 30.97 kB / 296.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.05166, allocations: 28.5 kB / 296.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.05166, allocations: 0 / 296.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of Templates: time 0.0117/0.06336, allocations: 4.991 MB / 301.6 MB, free: 3.703 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9451249110279605]