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.001802/0.001802, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002137/0.002137, allocations: 186 kB / 24.46 MB, free: 3.863 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.392/1.392, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.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.001603/0.001603, allocations: 51.92 kB / 371.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004527/0.2407, allocations: 2.916 MB / 426.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2421, allocations: 0.7495 MB / 427.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2423, allocations: 7.938 kB / 427.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.2425, allocations: 59.38 kB / 427.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.2427, allocations: 118.9 kB / 427.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.2431, allocations: 155.7 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.2436, allocations: 0.5462 MB / 428.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.2439, allocations: 119.7 kB / 428.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.2442, allocations: 223.2 kB / 428.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.2445, allocations: 219 kB / 428.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.2446, allocations: 52 kB / 429 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2447, allocations: 52 kB / 429 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2448, allocations: 111.7 kB / 429.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.245, allocations: 203.1 kB / 429.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.2456, allocations: 0.564 MB / 429.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2456, allocations: 0 / 429.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2456, allocations: 0 / 429.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2457, allocations: 0 / 429.9 MB, free: 8.395 MB / 334.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.001634/0.2473, allocations: 0.7343 MB / 430.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2473, allocations: 12.03 kB / 430.6 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2474, allocations: 52.66 kB / 430.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.2479, allocations: 252.8 kB / 430.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.2479, allocations: 29.38 kB / 431 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.248, allocations: 36.38 kB / 431 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2492, allocations: 0.6593 MB / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2492, allocations: 0 / 431.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.2493, allocations: 16 kB / 431.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2493, allocations: 8 kB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.2507, allocations: 0.4957 MB / 432.2 MB, free: 6 MB / 334.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.002544/0.2533, allocations: 1.201 MB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2544, allocations: 394.2 kB / 433.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.255, allocations: 221.3 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.255, allocations: 12.31 kB / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.255, allocations: 42.83 kB / 434 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.053e-06/0.255, allocations: 0 / 434 MB, free: 4.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005/0.26, allocations: 1.207 MB / 435.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2601, allocations: 158.2 kB / 435.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.2605, allocations: 272.1 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.2605, allocations: 29.7 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2607, allocations: 216.7 kB / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.2608, allocations: 146.7 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.261, allocations: 78.12 kB / 436.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2611, allocations: 346.8 kB / 436.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.2616, allocations: 180.8 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.2623, allocations: 381.3 kB / 437 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.2634, allocations: 434.5 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2634, allocations: 4 kB / 437.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001939/0.2653, allocations: 0.6708 MB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.2654, allocations: 11.92 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2654, allocations: 4 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.2667, allocations: 317.4 kB / 438.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.2671, allocations: 83.88 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.2685, allocations: 1.347 MB / 439.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.269, allocations: 75.84 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.269, allocations: 15.98 kB / 439.9 MB, free: 13.9 MB / 350.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.000213/0.2692, allocations: 161.7 kB / 440.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.2693, allocations: 35.77 kB / 440.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.2715, allocations: 0.7123 MB / 440.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2715, allocations: 12 kB / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2715, allocations: 0 / 440.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2715, allocations: 3.984 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.272, allocations: 320.7 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.272, allocations: 4 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2723, allocations: 63.81 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.2736, allocations: 325.4 kB / 441.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2736, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.275, allocations: 1.362 MB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.275, allocations: 0 / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.2777, allocations: 1.016 MB / 443.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.2778, allocations: 39.67 kB / 444 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.2778, allocations: 4 kB / 444 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.2782, allocations: 47.94 kB / 444 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.2783, allocations: 27.98 kB / 444.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.2783, allocations: 8 kB / 444.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.2786, allocations: 195.1 kB / 444.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2786, allocations: 4.062 kB / 444.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.279, allocations: 107.9 kB / 444.4 MB, free: 9.34 MB / 350.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.0001652/0.2792, allocations: 103.2 kB / 444.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.2805, allocations: 455.5 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2805, allocations: 4 kB / 444.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006423/0.2811, allocations: 248.2 kB / 445.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.2815, allocations: 48.56 kB / 445.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.2833, allocations: 0.9164 MB / 446.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.2835, allocations: 198.9 kB / 446.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.2836, allocations: 31.42 kB / 446.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2836, allocations: 0 / 446.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01022/0.2938, allocations: 7.268 MB / 453.6 MB, free: 24 kB / 350.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.647365098353475]