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.001633/0.001633, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.001807/0.001807, allocations: 209.2 kB / 24.48 MB, free: 3.957 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001643/0.001643, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004448/0.2483, allocations: 2.918 MB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2498, allocations: 0.8195 MB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.25, allocations: 7.938 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.2502, allocations: 59.38 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.2504, allocations: 122.9 kB / 436.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2508, allocations: 155.7 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.2513, allocations: 0.554 MB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2516, allocations: 112.4 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.2519, allocations: 231.3 kB / 437.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.2522, allocations: 223 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.2523, allocations: 55.98 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2524, allocations: 67.92 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2525, allocations: 107.7 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.2527, allocations: 207.1 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.2533, allocations: 0.5555 MB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2533, allocations: 0 / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2533, allocations: 3.938 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2534, allocations: 0 / 438.5 MB, free: 0.5156 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.001578/0.2549, allocations: 0.7352 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.255, allocations: 12.03 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.2552, allocations: 60.59 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.2556, allocations: 265.1 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.2557, allocations: 29.38 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.2557, allocations: 36.38 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2569, allocations: 0.6554 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2569, allocations: 0 / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.257, allocations: 19.94 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.257, allocations: 8 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.2584, allocations: 0.4996 MB / 440.8 MB, free: 14.09 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.002471/0.2609, allocations: 1.177 MB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.262, allocations: 403.6 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.2625, allocations: 217.4 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2625, allocations: 12.31 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2626, allocations: 38.89 kB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.2626, allocations: 4 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005132/0.2677, allocations: 1.207 MB / 443.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.2678, allocations: 166.2 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.2682, allocations: 272.1 kB / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2682, allocations: 29.7 kB / 444.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2684, allocations: 220.7 kB / 444.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2685, allocations: 146.7 kB / 444.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2687, allocations: 78.08 kB / 444.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2688, allocations: 338.8 kB / 445.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.2694, allocations: 184.7 kB / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.2701, allocations: 393.2 kB / 445.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2712, allocations: 414.6 kB / 446.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2712, allocations: 7.938 kB / 446.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001918/0.2731, allocations: 0.6705 MB / 446.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2731, allocations: 7.938 kB / 446.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2731, allocations: 4 kB / 446.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.2745, allocations: 325.4 kB / 447.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.2748, allocations: 79.88 kB / 447.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2763, allocations: 1.351 MB / 448.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.2767, allocations: 71.75 kB / 448.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.2768, allocations: 16 kB / 448.6 MB, free: 6.004 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.0002183/0.277, allocations: 157.8 kB / 448.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.277, allocations: 39.77 kB / 448.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.2793, allocations: 0.7162 MB / 449.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2793, allocations: 4 kB / 449.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2793, allocations: 0 / 449.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2793, allocations: 3.938 kB / 449.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.2798, allocations: 332.9 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2798, allocations: 0 / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.2801, allocations: 67.89 kB / 449.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/0.2813, allocations: 313.4 kB / 450.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2813, allocations: 8 kB / 450.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.2828, allocations: 1.366 MB / 451.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2828, allocations: 0 / 451.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.2854, allocations: 1.008 MB / 452.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.2855, allocations: 43.72 kB / 452.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.2856, allocations: 8 kB / 452.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.286, allocations: 39.95 kB / 452.7 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.286, allocations: 39.72 kB / 452.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.2861, allocations: 12 kB / 452.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.2863, allocations: 187.1 kB / 452.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2863, allocations: 192 / 452.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.2867, allocations: 111.8 kB / 453 MB, free: 1.438 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.000162/0.2869, allocations: 111.2 kB / 453.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.2882, allocations: 459.7 kB / 453.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2882, allocations: 4.062 kB / 453.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.2888, allocations: 239.9 kB / 453.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.2892, allocations: 47.16 kB / 453.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.291, allocations: 0.9209 MB / 454.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.2912, allocations: 194.9 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.2913, allocations: 27.44 kB / 455 MB, free: 15.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2913, allocations: 0 / 455 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Templates: time 0.0105/0.3018, allocations: 7.323 MB / 462.3 MB, free: 8.074 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.756304910872132]