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.001949/0.001949, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002368/0.002368, allocations: 186.2 kB / 23.7 MB, free: 4.191 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.464/1.464, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.001637/0.001637, allocations: 52.02 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2598, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004758/0.2645, allocations: 2.916 MB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.266, allocations: 0.7495 MB / 426.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.2662, allocations: 11.94 kB / 426.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.2664, allocations: 63.36 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.2666, allocations: 118.9 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.267, allocations: 159.7 kB / 427.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.2676, allocations: 0.5423 MB / 427.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.2679, allocations: 116.4 kB / 427.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.2681, allocations: 219.3 kB / 428 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2684, allocations: 227 kB / 428.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.2685, allocations: 48 kB / 428.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2687, allocations: 56 kB / 428.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2688, allocations: 111.7 kB / 428.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.269, allocations: 207.1 kB / 428.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.2696, allocations: 0.555 MB / 429.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2696, allocations: 4 kB / 429.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2696, allocations: 0 / 429.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2696, allocations: 0 / 429.1 MB, free: 8.375 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.001737/0.2713, allocations: 0.7351 MB / 429.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2714, allocations: 12.03 kB / 429.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2715, allocations: 52.66 kB / 429.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.2719, allocations: 248.8 kB / 430.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.272, allocations: 33.36 kB / 430.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.2721, allocations: 36.38 kB / 430.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2733, allocations: 0.6554 MB / 430.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2733, allocations: 0 / 430.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.2733, allocations: 16 kB / 430.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2733, allocations: 8 kB / 430.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.2747, allocations: 0.4957 MB / 431.4 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.002499/0.2772, allocations: 1.197 MB / 432.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2784, allocations: 399.7 kB / 433 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.2789, allocations: 219.2 kB / 433.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.2789, allocations: 12.33 kB / 433.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.279, allocations: 34.89 kB / 433.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.279, allocations: 3.938 kB / 433.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004979/0.2839, allocations: 1.214 MB / 434.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.284, allocations: 166.2 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.2844, allocations: 268.1 kB / 434.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.2844, allocations: 33.7 kB / 435 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2846, allocations: 212.7 kB / 435.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.2847, allocations: 146.8 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.2849, allocations: 82.12 kB / 435.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.285, allocations: 338.8 kB / 435.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.2856, allocations: 184.7 kB / 435.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.2862, allocations: 381.3 kB / 436.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.2873, allocations: 426.5 kB / 436.7 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2873, allocations: 0 / 436.7 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001958/0.2893, allocations: 0.6821 MB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2893, allocations: 7.938 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2893, allocations: 0 / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.2906, allocations: 325.4 kB / 437.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.291, allocations: 79.88 kB / 437.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2924, allocations: 1.343 MB / 439.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.2929, allocations: 75.84 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2929, allocations: 16 kB / 439.2 MB, free: 13.89 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.0002057/0.2931, allocations: 157.7 kB / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.2932, allocations: 39.75 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.2954, allocations: 0.72 MB / 440.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2955, allocations: 4 kB / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2955, allocations: 0 / 440.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2955, allocations: 7.984 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.2959, allocations: 316.8 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2959, allocations: 0 / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2963, allocations: 67.83 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.2975, allocations: 321.4 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.2975, allocations: 15.98 kB / 440.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.2989, allocations: 1.354 MB / 442.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2989, allocations: 0 / 442.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.3016, allocations: 1.016 MB / 443.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.3017, allocations: 39.67 kB / 443.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.3018, allocations: 8 kB / 443.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.3022, allocations: 39.95 kB / 443.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.3022, allocations: 27.94 kB / 443.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.3023, allocations: 12 kB / 443.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.3025, allocations: 191.1 kB / 443.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 0 / 443.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004479/0.303, allocations: 111.9 kB / 443.6 MB, free: 9.328 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.0001616/0.3031, allocations: 111.1 kB / 443.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3045, allocations: 447.4 kB / 444.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3045, allocations: 4 kB / 444.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.3051, allocations: 248.5 kB / 444.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3055, allocations: 48.73 kB / 444.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.3074, allocations: 0.882 MB / 445.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3076, allocations: 198.9 kB / 445.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.3077, allocations: 26.97 kB / 445.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.3078, allocations: 23.44 kB / 445.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3078, allocations: 4 kB / 445.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01198/0.3198, allocations: 5.439 MB / 451 MB, free: 1.914 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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: 4.860957536846399]