Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001567/0.001567, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001227/0.001227, allocations: 172.1 kB / 25.33 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.199e-05, allocations: 5.266 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003594/0.003626, allocations: 3.101 MB / 254.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.005264, allocations: 0.8197 MB / 255 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.005492, allocations: 4 kB / 255 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.0057, allocations: 67.36 kB / 255 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.005935, allocations: 118.8 kB / 255.1 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.006393, allocations: 147.7 kB / 255.3 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.006882, allocations: 0.5538 MB / 255.8 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.00713, allocations: 116.8 kB / 256 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.00751, allocations: 315.3 kB / 256.3 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.007726, allocations: 195.5 kB / 256.5 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.007789, allocations: 52 kB / 256.5 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.007889, allocations: 55.98 kB / 256.6 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.007959, allocations: 119.6 kB / 256.7 MB, free: 1.836 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.00809, allocations: 167.6 kB / 256.8 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.008581, allocations: 382.7 kB / 257.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.008585, allocations: 4 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.008587, allocations: 0 / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.008595, allocations: 3.938 kB / 257.2 MB, free: 1.285 MB / 234.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.001071/0.009666, allocations: 0.7845 MB / 258 MB, free: 472 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.009719, allocations: 11.98 kB / 258 MB, free: 460 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.00984, allocations: 84.59 kB / 258.1 MB, free: 376 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.01017, allocations: 251.3 kB / 258.3 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.0102, allocations: 29.38 kB / 258.4 MB, free: 68 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.01026, allocations: 36.38 kB / 258.4 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.01089, allocations: 0.5491 MB / 259 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.01091, allocations: 192 / 259 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.01094, allocations: 20.36 kB / 259 MB, free: 15.4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.01095, allocations: 11.94 kB / 259 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.01131, allocations: 217.8 kB / 259.2 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.01283, allocations: 1.146 MB / 260.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.0134, allocations: 272.2 kB / 260.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.01358, allocations: 128.3 kB / 260.7 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.01362, allocations: 8.328 kB / 260.7 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.01365, allocations: 45.7 kB / 260.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.01366, allocations: 4 kB / 260.8 MB, free: 13.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001974/0.01563, allocations: 0.8579 MB / 261.7 MB, free: 12.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.01569, allocations: 162.2 kB / 261.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.01604, allocations: 304.2 kB / 262.1 MB, free: 12.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01607, allocations: 33.7 kB / 262.1 MB, free: 12.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01619, allocations: 263.4 kB / 262.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.01626, allocations: 134.8 kB / 262.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.01637, allocations: 87.84 kB / 262.6 MB, free: 11.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.0165, allocations: 0.5157 MB / 263.1 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.01665, allocations: 76.95 kB / 263.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.01688, allocations: 320 kB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.01719, allocations: 257.3 kB / 263.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.01719, allocations: 0 / 263.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007056/0.0179, allocations: 472.2 kB / 264.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.01792, allocations: 8 kB / 264.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01793, allocations: 0 / 264.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.01863, allocations: 255.3 kB / 264.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.0188, allocations: 71.83 kB / 264.6 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/0.01971, allocations: 1.752 MB / 266.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.0199, allocations: 55.69 kB / 266.4 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.01992, allocations: 20 kB / 266.4 MB, free: 7.605 MB / 250.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.0001327/0.02006, allocations: 180.5 kB / 266.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.02011, allocations: 47.77 kB / 266.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000856/0.02097, allocations: 498.8 kB / 267.1 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.02097, allocations: 4 kB / 267.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02098, allocations: 0 / 267.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.02098, allocations: 0 / 267.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.0213, allocations: 316.2 kB / 267.4 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.0213, allocations: 0 / 267.4 MB, free: 6.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.02144, allocations: 51.91 kB / 267.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.02197, allocations: 259 kB / 267.7 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.022, allocations: 7.984 kB / 267.7 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008772/0.02288, allocations: 1.756 MB / 269.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.02288, allocations: 4 kB / 269.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.02379, allocations: 0.7094 MB / 270.2 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.02384, allocations: 39.62 kB / 270.2 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.02388, allocations: 12 kB / 270.2 MB, free: 3.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.02401, allocations: 23.97 kB / 270.3 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.02407, allocations: 23.95 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.02409, allocations: 16 kB / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.02422, allocations: 205.1 kB / 270.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02422, allocations: 4 kB / 270.5 MB, free: 3.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.02451, allocations: 115.8 kB / 270.6 MB, free: 3.203 MB / 250.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.0001658/0.02468, allocations: 111.2 kB / 270.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.02519, allocations: 294.5 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02519, allocations: 448 / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.0254, allocations: 168.3 kB / 271.2 MB, free: 2.629 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.02569, allocations: 60.38 kB / 271.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02704, allocations: 0.7479 MB / 272 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.203e-05/0.0271, allocations: 105 kB / 272.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.528e-05/0.02719, allocations: 26.98 kB / 272.1 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.02724, allocations: 28.48 kB / 272.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02725, allocations: 0 / 272.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of Templates: time 0.007499/0.03474, allocations: 4.988 MB / 277.1 MB, free: 12.65 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.124125654809177]