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.001978/0.001978, allocations: 108.6 kB / 21.18 MB, free: 0.7539 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.002181/0.002181, allocations: 193.1 kB / 24.47 MB, free: 4.156 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.477/1.477, allocations: 225.6 MB / 253.3 MB, free: 13 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.001671/0.001671, allocations: 55.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2406, allocations: 52.17 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00465/0.2453, allocations: 3.184 MB / 427.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.247, allocations: 0.7922 MB / 427.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.2472, allocations: 4 kB / 427.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.2474, allocations: 67.36 kB / 427.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.2477, allocations: 114.9 kB / 428 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.2481, allocations: 151.7 kB / 428.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.2487, allocations: 0.554 MB / 428.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2489, allocations: 116.8 kB / 428.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2493, allocations: 231.3 kB / 429.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.2496, allocations: 247 kB / 429.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.2497, allocations: 55.98 kB / 429.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.2498, allocations: 60 kB / 429.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2499, allocations: 119.5 kB / 429.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.2501, allocations: 234.9 kB / 429.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.2508, allocations: 0.5577 MB / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2508, allocations: 0 / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2508, allocations: 0 / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2508, allocations: 0 / 430.3 MB, free: 8.195 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.001723/0.2525, allocations: 0.7313 MB / 431.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2526, allocations: 8.031 kB / 431.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2527, allocations: 48.66 kB / 431.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.2532, allocations: 256.8 kB / 431.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.2532, allocations: 29.38 kB / 431.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.2533, allocations: 36.38 kB / 431.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2544, allocations: 0.5048 MB / 431.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.2545, allocations: 0 / 431.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.2545, allocations: 19.94 kB / 432 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2545, allocations: 8 kB / 432 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.2559, allocations: 0.5035 MB / 432.5 MB, free: 5.98 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.002784/0.2587, allocations: 1.632 MB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2598, allocations: 395 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.2603, allocations: 227.4 kB / 434.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.2603, allocations: 12.31 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2604, allocations: 38.89 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.248e-06/0.2604, allocations: 3.984 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005076/0.2655, allocations: 1.214 MB / 436 MB, free: 2.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2656, allocations: 158.2 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.266, allocations: 268.2 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.266, allocations: 33.7 kB / 436.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2662, allocations: 212.7 kB / 436.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.2663, allocations: 146.7 kB / 436.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2665, allocations: 78.08 kB / 436.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2666, allocations: 342.8 kB / 437.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.2672, allocations: 184.7 kB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.2678, allocations: 282.5 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2688, allocations: 426.5 kB / 438.1 MB, free: 88 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2688, allocations: 0 / 438.1 MB, free: 88 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001924/0.2707, allocations: 0.6782 MB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2707, allocations: 4 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2708, allocations: 4 kB / 438.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.2721, allocations: 325.4 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.2725, allocations: 75.88 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.274, allocations: 1.354 MB / 440.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.2744, allocations: 75.72 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2745, allocations: 16 kB / 440.6 MB, free: 13.49 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.0002221/0.2747, allocations: 161.8 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.2748, allocations: 43.75 kB / 440.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.277, allocations: 0.7084 MB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.277, allocations: 4 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.277, allocations: 0 / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.277, allocations: 7.984 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.2776, allocations: 443.9 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2776, allocations: 0 / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.2779, allocations: 59.89 kB / 442 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.2792, allocations: 325.3 kB / 442.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.2793, allocations: 11.98 kB / 442.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.2807, allocations: 1.355 MB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2807, allocations: 0 / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.2833, allocations: 1.016 MB / 444.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.2834, allocations: 39.72 kB / 444.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.2835, allocations: 8 kB / 444.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.2839, allocations: 44.02 kB / 444.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.2839, allocations: 27.94 kB / 444.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.284, allocations: 12 kB / 444.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.2842, allocations: 195.1 kB / 445 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 192 / 445 MB, free: 8.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.2847, allocations: 107.8 kB / 445.1 MB, free: 8.805 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.0001789/0.2848, allocations: 123.1 kB / 445.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.2862, allocations: 451.5 kB / 445.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2862, allocations: 0 / 445.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/0.2869, allocations: 244.2 kB / 445.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.2873, allocations: 48.64 kB / 446 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.2892, allocations: 0.9151 MB / 446.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.2896, allocations: 0.7917 MB / 447.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2897, allocations: 31.44 kB / 447.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2897, allocations: 3.938 kB / 447.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Templates: time 0.01187/0.3016, allocations: 7.161 MB / 454.9 MB, free: 14.98 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/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.522133325226605]