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.0009309/0.0009309, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0011/0.0011, allocations: 164.5 kB / 24.92 MB, free: 8.223 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.9697/0.9697, allocations: 177 MB / 205.2 MB, free: 5.441 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.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.2e-05, allocations: 2.312 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003327/0.003349, allocations: 3.166 MB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.005065, allocations: 0.8658 MB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.005236, allocations: 7.938 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.005412, allocations: 59.36 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.005592, allocations: 122.8 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.005992, allocations: 163.7 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.006443, allocations: 0.5655 MB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.006648, allocations: 129.4 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003953/0.007044, allocations: 323.3 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.007251, allocations: 199.5 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.007302, allocations: 48 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007421, allocations: 64 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.007483, allocations: 115.6 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.007603, allocations: 171.6 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.007994, allocations: 398.6 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.007998, allocations: 0 / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007999, allocations: 0 / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008005, allocations: 0 / 279.8 MB, free: 10.75 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.0008385/0.008843, allocations: 0.6714 MB / 280.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.008876, allocations: 15.92 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.009033, allocations: 72.88 kB / 280.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.009291, allocations: 216.6 kB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.009316, allocations: 33.31 kB / 280.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.009357, allocations: 40.38 kB / 280.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.009824, allocations: 0.5079 MB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.009838, allocations: 4.141 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.009862, allocations: 16.38 kB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.009872, allocations: 11.94 kB / 281.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.01007, allocations: 154.8 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.01124, allocations: 0.9267 MB / 282.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.01163, allocations: 219.3 kB / 282.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.01173, allocations: 101.4 kB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.01176, allocations: 12.31 kB / 282.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.01178, allocations: 42.83 kB / 282.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.01178, allocations: 0 / 282.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001524/0.01331, allocations: 0.7308 MB / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/0.0135, allocations: 166.2 kB / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01364, allocations: 250.9 kB / 284 MB, free: 6.352 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01366, allocations: 29.7 kB / 284 MB, free: 6.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.01375, allocations: 193.1 kB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.01381, allocations: 138.8 kB / 284.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.0139, allocations: 78.11 kB / 284.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.01399, allocations: 350.7 kB / 284.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.01406, allocations: 52.97 kB / 284.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.0142, allocations: 254 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01441, allocations: 206.5 kB / 285.2 MB, free: 4.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01441, allocations: 7.938 kB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000449/0.01486, allocations: 343 kB / 285.6 MB, free: 4.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01487, allocations: 8 kB / 285.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01488, allocations: 0 / 285.6 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.01541, allocations: 237.4 kB / 285.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.01561, allocations: 86.94 kB / 285.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005759/0.01618, allocations: 1.159 MB / 287.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.01635, allocations: 67.7 kB / 287.1 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.01637, allocations: 8 kB / 287.1 MB, free: 2.992 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.0001091/0.01648, allocations: 137.7 kB / 287.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.01652, allocations: 31.97 kB / 287.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.0171, allocations: 401.3 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.01711, allocations: 8 kB / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01711, allocations: 0 / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01711, allocations: 0 / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.01736, allocations: 229.6 kB / 287.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01736, allocations: 0 / 287.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.01752, allocations: 55.89 kB / 288 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.01808, allocations: 241.4 kB / 288.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.0181, allocations: 7.938 kB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000525/0.01863, allocations: 1.171 MB / 289.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01863, allocations: 0 / 289.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.01943, allocations: 0.5357 MB / 289.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.01947, allocations: 43.56 kB / 290 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.0195, allocations: 16 kB / 290 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.01964, allocations: 24.03 kB / 290 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01969, allocations: 23.91 kB / 290 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.0197, allocations: 12.02 kB / 290 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.01977, allocations: 92.62 kB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01977, allocations: 0 / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.02003, allocations: 111.8 kB / 290.2 MB, free: 15.75 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.0001333/0.02017, allocations: 92.3 kB / 290.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.02054, allocations: 231.4 kB / 290.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.02055, allocations: 4 kB / 290.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.02071, allocations: 140.6 kB / 290.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.02094, allocations: 56.62 kB / 290.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.02219, allocations: 0.7281 MB / 291.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.02225, allocations: 105 kB / 291.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.257e-05/0.02235, allocations: 30.97 kB / 291.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.02249, allocations: 107.3 kB / 291.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02249, allocations: 7.938 kB / 291.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Templates: time 0.007463/0.02995, allocations: 5.276 MB / 297 MB, free: 9 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 -s gbode -gbm=radauIIA3 -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.8441891157999635]