Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 122.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.91 kB / 366.8 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09226, allocations: 52.13 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004422/0.09669, allocations: 3.169 MB / 422.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.0981, allocations: 0.804 MB / 422.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.09824, allocations: 4 kB / 422.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.09842, allocations: 59.31 kB / 423 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.09864, allocations: 115 kB / 423.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.099, allocations: 151.7 kB / 423.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.09954, allocations: 0.5463 MB / 423.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.09977, allocations: 124.4 kB / 423.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.1, allocations: 219.2 kB / 424.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1004, allocations: 255 kB / 424.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.1004, allocations: 52 kB / 424.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1005, allocations: 52 kB / 424.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1007, allocations: 119.6 kB / 424.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1009, allocations: 238.9 kB / 424.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.1015, allocations: 0.5603 MB / 425.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1015, allocations: 0 / 425.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1015, allocations: 0 / 425.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1015, allocations: 0 / 425.4 MB, free: 5.609 MB / 350.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.001613/0.1031, allocations: 0.7988 MB / 426.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1032, allocations: 12.03 kB / 426.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1033, allocations: 48.66 kB / 426.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1037, allocations: 318.6 kB / 426.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.1037, allocations: 25.38 kB / 426.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.1038, allocations: 36.38 kB / 426.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1049, allocations: 0.5009 MB / 427.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1049, allocations: 4 kB / 427.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.105, allocations: 15.94 kB / 427.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.105, allocations: 16 kB / 427.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1063, allocations: 0.4996 MB / 427.7 MB, free: 3.23 MB / 350.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.002655/0.109, allocations: 1.659 MB / 429.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1101, allocations: 407.6 kB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.1106, allocations: 221.3 kB / 429.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.1107, allocations: 12.3 kB / 429.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.1107, allocations: 38.89 kB / 430 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.1107, allocations: 4 kB / 430 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005083/0.1158, allocations: 1.365 MB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.794e-05/0.1159, allocations: 158.2 kB / 431.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.1163, allocations: 271 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.1163, allocations: 33.7 kB / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1164, allocations: 212.7 kB / 432 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1166, allocations: 150.7 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1167, allocations: 78.09 kB / 432.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1169, allocations: 342.8 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.1174, allocations: 184.8 kB / 432.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/0.118, allocations: 278.5 kB / 433 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.119, allocations: 426.5 kB / 433.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.119, allocations: 4 kB / 433.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001905/0.121, allocations: 0.6704 MB / 434.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.121, allocations: 12.06 kB / 434.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.121, allocations: 0 / 434.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.1223, allocations: 317.4 kB / 434.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1226, allocations: 79.88 kB / 434.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.124, allocations: 1.347 MB / 435.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.1245, allocations: 79.88 kB / 435.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.1245, allocations: 15.98 kB / 435.9 MB, free: 10.52 MB / 366.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.0002086/0.1247, allocations: 153.8 kB / 436.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.1248, allocations: 35.77 kB / 436.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.127, allocations: 0.7277 MB / 436.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.127, allocations: 7.938 kB / 436.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.127, allocations: 0 / 436.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.127, allocations: 3.984 kB / 436.9 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.1276, allocations: 476.8 kB / 437.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1276, allocations: 0 / 437.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.1279, allocations: 59.88 kB / 437.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.1291, allocations: 325.4 kB / 437.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1292, allocations: 4 kB / 437.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.1305, allocations: 1.358 MB / 439.1 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1305, allocations: 4 kB / 439.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.1332, allocations: 1.012 MB / 440.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1333, allocations: 112.8 kB / 440.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1333, allocations: 8 kB / 440.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.1337, allocations: 43.94 kB / 440.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.1338, allocations: 23.97 kB / 440.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.1338, allocations: 8 kB / 440.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.1341, allocations: 202 kB / 440.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1341, allocations: 0 / 440.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1345, allocations: 115.7 kB / 440.6 MB, free: 5.695 MB / 366.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.0001591/0.1347, allocations: 107.7 kB / 440.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.136, allocations: 463.7 kB / 441.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.136, allocations: 4.438 kB / 441.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.1366, allocations: 247.8 kB / 441.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.137, allocations: 50.73 kB / 441.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1387, allocations: 0.9137 MB / 442.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.1391, allocations: 0.7917 MB / 443.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.1392, allocations: 27.42 kB / 443.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1392, allocations: 0 / 443.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of Templates: time 0.1721/0.3112, allocations: 7.174 MB / 450.4 MB, free: 30.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.231801185989752]