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.0008182/0.0008182, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002082, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007306/0.0007306, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.00227, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9317/0.9317, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1575/1.089, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.704e-06/1.704e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.041e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004595/0.004615, allocations: 3.122 MB / 225.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.00616, allocations: 0.839 MB / 226 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.006303, allocations: 4 kB / 226 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.00643, allocations: 67.36 kB / 226 MB, free: 11.99 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.006586, allocations: 114.9 kB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.006863, allocations: 147.7 kB / 226.3 MB, free: 11.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.007403, allocations: 0.5461 MB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.007606, allocations: 125.4 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.007959, allocations: 362.4 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.008149, allocations: 195.4 kB / 227.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.0082, allocations: 52 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.008306, allocations: 56 kB / 227.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.008362, allocations: 79.75 kB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.008458, allocations: 139.8 kB / 227.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.008785, allocations: 330.9 kB / 228.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.008797, allocations: 0 / 228.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008798, allocations: 0 / 228.1 MB, free: 9.867 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.008809, allocations: 0 / 228.1 MB, free: 9.867 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.0008833/0.009692, allocations: 0.7609 MB / 228.9 MB, free: 9.082 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.009724, allocations: 8.031 kB / 228.9 MB, free: 9.074 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.009813, allocations: 68.83 kB / 229 MB, free: 9.008 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.01005, allocations: 192.6 kB / 229.2 MB, free: 8.793 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.01007, allocations: 29.38 kB / 229.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.01012, allocations: 40.38 kB / 229.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.01057, allocations: 0.5156 MB / 229.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01059, allocations: 4.141 kB / 229.7 MB, free: 8.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.01061, allocations: 16.38 kB / 229.8 MB, free: 8.129 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01062, allocations: 15.94 kB / 229.8 MB, free: 8.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.01082, allocations: 154.8 kB / 229.9 MB, free: 7.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01225, allocations: 0.9384 MB / 230.9 MB, free: 6.969 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.01261, allocations: 227.3 kB / 231.1 MB, free: 6.738 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.0127, allocations: 89.47 kB / 231.2 MB, free: 6.648 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.01274, allocations: 8.328 kB / 231.2 MB, free: 6.641 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.01277, allocations: 38.89 kB / 231.2 MB, free: 6.594 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.01278, allocations: 0 / 231.2 MB, free: 6.594 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.001539/0.01431, allocations: 0.7278 MB / 232 MB, free: 5.855 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.01434, allocations: 59.34 kB / 232 MB, free: 5.785 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01447, allocations: 244.9 kB / 232.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.0145, allocations: 29.7 kB / 232.3 MB, free: 5.5 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.01458, allocations: 193.1 kB / 232.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.01465, allocations: 142.8 kB / 232.6 MB, free: 5.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.01473, allocations: 82.11 kB / 232.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.01481, allocations: 342.7 kB / 233 MB, free: 4.734 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.01488, allocations: 48.98 kB / 233.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01503, allocations: 261.9 kB / 233.3 MB, free: 4.371 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.01524, allocations: 218.4 kB / 233.5 MB, free: 4.133 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01524, allocations: 0 / 233.5 MB, free: 4.133 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004593/0.0157, allocations: 342.9 kB / 233.9 MB, free: 3.785 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01572, allocations: 8 kB / 233.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01573, allocations: 0 / 233.9 MB, free: 3.777 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.01628, allocations: 310.7 kB / 234.2 MB, free: 3.449 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.01649, allocations: 91.81 kB / 234.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005519/0.01704, allocations: 1.167 MB / 235.4 MB, free: 2.141 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.0172, allocations: 59.64 kB / 235.5 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.01721, allocations: 12 kB / 235.5 MB, free: 2.07 MB / 234.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 9.831e-05/0.01731, allocations: 141.8 kB / 235.6 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.01736, allocations: 31.97 kB / 235.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.01793, allocations: 397.5 kB / 236.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01793, allocations: 4 kB / 236.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01793, allocations: 0 / 236.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01794, allocations: 3.984 kB / 236.1 MB, free: 1.484 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.01817, allocations: 221.6 kB / 236.3 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01817, allocations: 0 / 236.3 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01833, allocations: 71.88 kB / 236.4 MB, free: 1.18 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.01835, allocations: 39.73 kB / 236.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.01882, allocations: 245.3 kB / 236.6 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01884, allocations: 8 kB / 236.6 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.0196, allocations: 1.163 MB / 237.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01961, allocations: 7.984 kB / 237.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.02025, allocations: 0.5472 MB / 238.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.02028, allocations: 8 kB / 238.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.02041, allocations: 31.97 kB / 238.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.02045, allocations: 23.95 kB / 238.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.02046, allocations: 7.984 kB / 238.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.02052, allocations: 78.78 kB / 238.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02053, allocations: 3.938 kB / 238.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.02075, allocations: 103.9 kB / 238.6 MB, free: 14.84 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.0001211/0.02088, allocations: 100.4 kB / 238.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.02122, allocations: 247.7 kB / 239 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.02123, allocations: 4 kB / 239 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.02141, allocations: 162.3 kB / 239.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.02172, allocations: 373.6 kB / 239.5 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.02497, allocations: 0.711 MB / 240.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.02503, allocations: 105 kB / 240.3 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.06e-05/0.02512, allocations: 34.95 kB / 240.3 MB, free: 13 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.02526, allocations: 111.3 kB / 240.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02526, allocations: 4 kB / 240.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of Templates: time 0.007672/0.03293, allocations: 5.717 MB / 246.2 MB, free: 7.199 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.887136404402554]