Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001908/0.001908, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.83 kB / 378.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 53.37 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005086/0.2908, allocations: 3.19 MB / 435.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2925, allocations: 0.8584 MB / 436.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.2927, allocations: 7.938 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.2929, allocations: 63.38 kB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.2932, allocations: 118.9 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2936, allocations: 159.7 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.2943, allocations: 0.5423 MB / 437.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.2946, allocations: 124.8 kB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.2949, allocations: 235.2 kB / 437.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.2953, allocations: 255 kB / 437.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.2953, allocations: 52 kB / 437.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2955, allocations: 64 kB / 437.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2956, allocations: 115.6 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.2959, allocations: 238.9 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.2965, allocations: 0.5581 MB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2965, allocations: 0 / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2965, allocations: 0 / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2966, allocations: 3.938 kB / 438.7 MB, free: 0.5078 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.001733/0.2983, allocations: 0.743 MB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2983, allocations: 8.031 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.2985, allocations: 64.59 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.299, allocations: 253.2 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.299, allocations: 33.31 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.2991, allocations: 36.38 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3003, allocations: 0.5126 MB / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3003, allocations: 0 / 440.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.3004, allocations: 16 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3004, allocations: 8 kB / 440.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.3018, allocations: 0.4957 MB / 440.8 MB, free: 14.27 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.003132/0.305, allocations: 1.621 MB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.3062, allocations: 405.2 kB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.3068, allocations: 217.4 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.3069, allocations: 16.3 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3069, allocations: 38.89 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.743e-06/0.3069, allocations: 0 / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0053/0.3122, allocations: 1.207 MB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.3123, allocations: 158.2 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.3128, allocations: 284.2 kB / 444.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.3128, allocations: 33.7 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.313, allocations: 216.7 kB / 445 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.3131, allocations: 138.8 kB / 445.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.3133, allocations: 74.12 kB / 445.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3135, allocations: 342.8 kB / 445.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.314, allocations: 188.7 kB / 445.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/0.3147, allocations: 282.5 kB / 446 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3157, allocations: 426.5 kB / 446.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3157, allocations: 0 / 446.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002019/0.3178, allocations: 0.682 MB / 447.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3178, allocations: 4 kB / 447.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3178, allocations: 7.938 kB / 447.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.3192, allocations: 317.4 kB / 447.4 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.3195, allocations: 79.88 kB / 447.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3211, allocations: 1.347 MB / 448.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.3216, allocations: 79.66 kB / 448.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.3216, allocations: 15.94 kB / 449 MB, free: 5.785 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.0003179/0.3219, allocations: 169.2 kB / 449.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.322, allocations: 35.77 kB / 449.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.3245, allocations: 0.7162 MB / 449.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.3245, allocations: 4 kB / 449.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3245, allocations: 0 / 449.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.3245, allocations: 4 kB / 449.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008274/0.3253, allocations: 440.2 kB / 450.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3253, allocations: 0 / 450.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.3257, allocations: 63.95 kB / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.327, allocations: 317.4 kB / 450.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.327, allocations: 8 kB / 450.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.3285, allocations: 1.362 MB / 452 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3285, allocations: 0 / 452 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.3312, allocations: 1.019 MB / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.3313, allocations: 47.66 kB / 453.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.3314, allocations: 8 kB / 453.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.3317, allocations: 40.02 kB / 453.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.3318, allocations: 31.73 kB / 453.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.3319, allocations: 11.98 kB / 453.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.3321, allocations: 195.1 kB / 453.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3321, allocations: 0 / 453.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.3326, allocations: 107.9 kB / 453.5 MB, free: 1.09 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.0002061/0.3328, allocations: 107.2 kB / 453.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.3342, allocations: 463.4 kB / 454.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3342, allocations: 192 / 454.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006477/0.3348, allocations: 239.9 kB / 454.3 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3353, allocations: 63.81 kB / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3371, allocations: 0.8766 MB / 455.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.3376, allocations: 0.8033 MB / 456 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3378, allocations: 30.97 kB / 456.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.3378, allocations: 23.42 kB / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3378, allocations: 0 / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01305/0.3509, allocations: 6.343 MB / 462.4 MB, free: 8.117 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.7747134976089]