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.001748/0.001748, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.0021/0.0021, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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 0.001508/0.001508, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00462/0.236, allocations: 2.922 MB / 435.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2377, allocations: 0.8117 MB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.2379, allocations: 15.94 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2381, allocations: 59.38 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.2383, allocations: 118.9 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.2387, allocations: 155.7 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.2393, allocations: 0.5501 MB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2396, allocations: 135.6 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.24, allocations: 231.3 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.2403, allocations: 259 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.2404, allocations: 52 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2405, allocations: 60 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2406, allocations: 111.7 kB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.2408, allocations: 199.2 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.2415, allocations: 0.56 MB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2415, allocations: 0 / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2415, allocations: 0 / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2415, allocations: 4 kB / 438.6 MB, free: 484 kB / 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.001704/0.2432, allocations: 0.7352 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2432, allocations: 8.031 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.2435, allocations: 64.59 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.244, allocations: 269.1 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.244, allocations: 25.38 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.2441, allocations: 40.36 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2453, allocations: 0.6515 MB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2453, allocations: 7.938 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.2454, allocations: 16 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2454, allocations: 8 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.2467, allocations: 0.4957 MB / 440.9 MB, free: 14.05 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.002656/0.2494, allocations: 1.185 MB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.2506, allocations: 402.2 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.2511, allocations: 225.4 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.2511, allocations: 4.328 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.2512, allocations: 38.89 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.2512, allocations: 0 / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005223/0.2564, allocations: 1.211 MB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2565, allocations: 162.2 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.2569, allocations: 272.1 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.2569, allocations: 29.7 kB / 444.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.2571, allocations: 216.7 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.2572, allocations: 142.7 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.2574, allocations: 82.08 kB / 444.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2576, allocations: 342.8 kB / 445.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.2581, allocations: 184.7 kB / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.2587, allocations: 389.3 kB / 445.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2598, allocations: 426.5 kB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.2598, allocations: 4 kB / 446.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001959/0.2617, allocations: 0.6705 MB / 446.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2618, allocations: 11.88 kB / 446.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2618, allocations: 7.938 kB / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.2632, allocations: 309.5 kB / 447.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.2635, allocations: 83.88 kB / 447.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.265, allocations: 1.351 MB / 448.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2655, allocations: 75.84 kB / 448.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.2655, allocations: 12 kB / 448.6 MB, free: 5.965 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.0002252/0.2658, allocations: 157.8 kB / 448.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.2658, allocations: 39.75 kB / 448.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.2681, allocations: 0.72 MB / 449.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2681, allocations: 7.984 kB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2681, allocations: 3.984 kB / 449.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2681, allocations: 7.984 kB / 449.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.2687, allocations: 325 kB / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2687, allocations: 0 / 449.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.269, allocations: 55.89 kB / 449.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.2703, allocations: 325.3 kB / 450.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.2704, allocations: 11.98 kB / 450.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.2718, allocations: 1.354 MB / 451.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2718, allocations: 0 / 451.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.2745, allocations: 1.016 MB / 452.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.2745, allocations: 35.92 kB / 452.7 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.2746, allocations: 16.06 kB / 452.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.275, allocations: 39.89 kB / 452.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.2751, allocations: 35.66 kB / 452.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.2751, allocations: 19.94 kB / 452.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.2754, allocations: 195.1 kB / 453 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2754, allocations: 0 / 453 MB, free: 1.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004443/0.2758, allocations: 107.8 kB / 453.1 MB, free: 1.383 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.0001858/0.276, allocations: 107.2 kB / 453.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.2774, allocations: 459.4 kB / 453.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2774, allocations: 0 / 453.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.278, allocations: 240.2 kB / 453.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.2784, allocations: 48.58 kB / 453.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.2803, allocations: 0.9145 MB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.2805, allocations: 202.9 kB / 455 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.2806, allocations: 23.44 kB / 455 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2806, allocations: 0 / 455 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.0109/0.2915, allocations: 7.32 MB / 462.4 MB, free: 8.031 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/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: 7.600519127998268]