Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001394/0.001394, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001506/0.001506, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.524e-05, allocations: 9.656 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004536/0.004561, allocations: 2.942 MB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.006404, allocations: 0.8279 MB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.006609, allocations: 6.594 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.00682, allocations: 61.66 kB / 328.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.007067, allocations: 127.7 kB / 329 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.007582, allocations: 158.1 kB / 329.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00064/0.008222, allocations: 0.5708 MB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.008471, allocations: 116.4 kB / 329.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.008968, allocations: 326.9 kB / 330.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.009273, allocations: 189.3 kB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.009352, allocations: 51.38 kB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.009486, allocations: 65.91 kB / 330.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.009609, allocations: 117.4 kB / 330.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.009825, allocations: 170.1 kB / 330.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.01062, allocations: 0.5922 MB / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.01063, allocations: 1.125 kB / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01063, allocations: 0 / 331.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.01064, allocations: 0 / 331.4 MB, free: 12.56 MB / 302.1 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.00184/0.01248, allocations: 0.7263 MB / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.01252, allocations: 9.062 kB / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.01277, allocations: 63.41 kB / 332.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.01325, allocations: 255.5 kB / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.01328, allocations: 28.56 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.01336, allocations: 36.75 kB / 332.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.01472, allocations: 0.6546 MB / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.01474, allocations: 192 / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.01479, allocations: 16.91 kB / 333.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.0148, allocations: 13.09 kB / 333.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.01625, allocations: 0.4991 MB / 333.7 MB, free: 10.95 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.01884, allocations: 1.184 MB / 334.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.02001, allocations: 405.1 kB / 335.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.02054, allocations: 225.7 kB / 335.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.02059, allocations: 10.8 kB / 335.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.02062, allocations: 49.58 kB / 335.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 5.44e-06/0.02063, allocations: 3.984 kB / 335.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005282/0.02591, allocations: 1.211 MB / 336.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.02605, allocations: 158.9 kB / 336.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.02649, allocations: 269 kB / 337.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.02655, allocations: 32.05 kB / 337.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.02673, allocations: 220 kB / 337.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.02687, allocations: 143.6 kB / 337.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.02703, allocations: 79.73 kB / 337.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.02724, allocations: 346.8 kB / 338 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.0278, allocations: 178.1 kB / 338.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.02851, allocations: 386 kB / 338.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.02962, allocations: 426.5 kB / 338.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02962, allocations: 4 kB / 338.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002085/0.0317, allocations: 0.6704 MB / 339.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.03173, allocations: 7.984 kB / 339.6 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.03174, allocations: 4 kB / 339.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.03317, allocations: 321.4 kB / 339.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.03354, allocations: 79.81 kB / 340 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.03508, allocations: 1.351 MB / 341.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.03558, allocations: 67.94 kB / 341.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.03562, allocations: 23.92 kB / 341.4 MB, free: 4.344 MB / 302.1 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.0002315/0.03586, allocations: 161.7 kB / 341.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.03594, allocations: 39.83 kB / 341.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.03838, allocations: 0.7162 MB / 342.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.03839, allocations: 4 kB / 342.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.0384, allocations: 0 / 342.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.0384, allocations: 3.984 kB / 342.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.03892, allocations: 324.9 kB / 342.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.03892, allocations: 0 / 342.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.03924, allocations: 59.88 kB / 342.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.04055, allocations: 325.4 kB / 343.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.04058, allocations: 8 kB / 343.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.04207, allocations: 1.362 MB / 344.4 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.04207, allocations: 0 / 344.4 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.04497, allocations: 1.011 MB / 345.4 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.04505, allocations: 39.72 kB / 345.5 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.04511, allocations: 8 kB / 345.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.04551, allocations: 39.94 kB / 345.5 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.0456, allocations: 28.02 kB / 345.6 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.04564, allocations: 15.98 kB / 345.6 MB, free: 80 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.04592, allocations: 191.1 kB / 345.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04592, allocations: 0 / 345.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.04638, allocations: 111.8 kB / 345.9 MB, free: 15.79 MB / 318.1 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.0001866/0.04656, allocations: 112.9 kB / 346 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.04795, allocations: 455.7 kB / 346.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.04796, allocations: 64 / 346.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.04864, allocations: 255.8 kB / 346.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.04906, allocations: 47.14 kB / 346.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.0509, allocations: 0.8011 MB / 347.5 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.0511, allocations: 191 kB / 347.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.05125, allocations: 34.91 kB / 347.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.05136, allocations: 24.5 kB / 347.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.05136, allocations: 4 kB / 347.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of Templates: time 0.0115/0.06286, allocations: 4.961 MB / 352.7 MB, free: 8.93 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.590338725596666]