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.001336/0.001336, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001012/0.001012, allocations: 166.1 kB / 24.82 MB, free: 9.258 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 1.017/1.017, allocations: 177 MB / 205.1 MB, free: 5.492 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.884e-06/1.884e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.661e-05, allocations: 5.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003681/0.003707, allocations: 3.108 MB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004919, allocations: 0.8466 MB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.005073, allocations: 7.938 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.005238, allocations: 63.38 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.005392, allocations: 118.8 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.005721, allocations: 167.7 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.006085, allocations: 0.5655 MB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.006284, allocations: 116.8 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.006615, allocations: 331.4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.006795, allocations: 191.5 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.006849, allocations: 52 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.006939, allocations: 63.92 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.006999, allocations: 115.6 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.007112, allocations: 175.6 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.007451, allocations: 390.7 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007454, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007455, allocations: 0 / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.00746, allocations: 0 / 279.6 MB, free: 10.91 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.0008446/0.008304, allocations: 0.7999 MB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.008342, allocations: 15.98 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.008503, allocations: 92.59 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.008754, allocations: 271.2 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.008778, allocations: 29.38 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.008825, allocations: 36.38 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.0093, allocations: 0.5178 MB / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.009313, allocations: 192 / 281.4 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.009342, allocations: 16.38 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.009352, allocations: 11.94 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.009579, allocations: 182.8 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.01086, allocations: 1.15 MB / 282.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.01125, allocations: 246.9 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.01137, allocations: 112.2 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.0114, allocations: 12.31 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.01142, allocations: 49.7 kB / 283.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.01142, allocations: 0 / 283.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001695/0.01312, allocations: 0.8024 MB / 283.9 MB, free: 6.359 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.01318, allocations: 158.2 kB / 284.1 MB, free: 6.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.01334, allocations: 306.2 kB / 284.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.01337, allocations: 33.7 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01349, allocations: 263.4 kB / 284.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.01357, allocations: 146.7 kB / 284.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.01366, allocations: 79.81 kB / 284.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01381, allocations: 0.5156 MB / 285.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.0139, allocations: 64.95 kB / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.0141, allocations: 299.9 kB / 285.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.01435, allocations: 233.3 kB / 286 MB, free: 4.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01435, allocations: 4 kB / 286 MB, free: 4.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005862/0.01494, allocations: 420.3 kB / 286.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01495, allocations: 7.938 kB / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01496, allocations: 4 kB / 286.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.01552, allocations: 247.1 kB / 286.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01567, allocations: 75.83 kB / 286.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006973/0.01637, allocations: 1.725 MB / 288.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.01653, allocations: 59.7 kB / 288.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.01655, allocations: 15.94 kB / 288.5 MB, free: 1.469 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.0001196/0.01667, allocations: 180.5 kB / 288.7 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.01673, allocations: 43.81 kB / 288.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.0174, allocations: 459.3 kB / 289.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01741, allocations: 4 kB / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01741, allocations: 0 / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01741, allocations: 0 / 289.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.01767, allocations: 268.6 kB / 289.5 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01768, allocations: 0 / 289.5 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.01781, allocations: 51.95 kB / 289.5 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.01829, allocations: 254.9 kB / 289.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.01831, allocations: 8 kB / 289.8 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006506/0.01896, allocations: 1.736 MB / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01896, allocations: 0 / 291.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.01975, allocations: 0.6583 MB / 292.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.01978, allocations: 39.69 kB / 292.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.01981, allocations: 15.94 kB / 292.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.01994, allocations: 28.02 kB / 292.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.01998, allocations: 23.95 kB / 292.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.02, allocations: 11.98 kB / 292.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.0201, allocations: 203 kB / 292.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0201, allocations: 0 / 292.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.02037, allocations: 115.8 kB / 292.6 MB, free: 13.24 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.0001311/0.0205, allocations: 103.2 kB / 292.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.02086, allocations: 266 kB / 293 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02086, allocations: 0 / 293 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.02103, allocations: 155.6 kB / 293.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.02128, allocations: 53.06 kB / 293.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.02234, allocations: 0.7526 MB / 293.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.599e-05/0.02239, allocations: 101.1 kB / 294 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.145e-05/0.02247, allocations: 30.98 kB / 294.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.02261, allocations: 134.2 kB / 294.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02261, allocations: 0 / 294.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of Templates: time 0.007244/0.02985, allocations: 5.285 MB / 299.5 MB, free: 6.371 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","",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.9070599931292236]