Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.01039/0.01039, allocations: 109.9 kB / 21.98 MB, free: 5.18 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.002093/0.002093, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.89 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2539, allocations: 53.35 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004794/0.2587, allocations: 3.192 MB / 436.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2605, allocations: 0.8622 MB / 437.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2607, allocations: 8 kB / 437.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.2609, allocations: 63.31 kB / 437.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2611, allocations: 118.9 kB / 437.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.2615, allocations: 155.7 kB / 437.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.2621, allocations: 0.5501 MB / 438.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.2624, allocations: 119.3 kB / 438.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.2628, allocations: 243.2 kB / 438.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.2631, allocations: 255 kB / 438.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.2632, allocations: 52 kB / 438.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.2633, allocations: 56 kB / 438.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2634, allocations: 115.6 kB / 438.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.2637, allocations: 242.8 kB / 439.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.2643, allocations: 0.5562 MB / 439.7 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2643, allocations: 0 / 439.7 MB, free: 388 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2643, allocations: 0 / 439.7 MB, free: 388 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2643, allocations: 3.938 kB / 439.7 MB, free: 384 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.001649/0.266, allocations: 0.7313 MB / 440.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.266, allocations: 12.02 kB / 440.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.2662, allocations: 60.61 kB / 440.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.2668, allocations: 273.2 kB / 440.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.2668, allocations: 33.31 kB / 440.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.2669, allocations: 36.38 kB / 440.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.268, allocations: 0.497 MB / 441.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.268, allocations: 0 / 441.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.268, allocations: 16 kB / 441.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2681, allocations: 11.98 kB / 441.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.2694, allocations: 0.4996 MB / 441.9 MB, free: 14.14 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.002855/0.2722, allocations: 1.621 MB / 443.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2734, allocations: 395.7 kB / 443.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.2739, allocations: 230.6 kB / 444.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.2739, allocations: 8.312 kB / 444.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.274, allocations: 42.88 kB / 444.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.274, allocations: 0 / 444.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004946/0.2789, allocations: 1.21 MB / 445.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.279, allocations: 158.2 kB / 445.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.2794, allocations: 276.2 kB / 445.8 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2795, allocations: 33.7 kB / 445.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.2796, allocations: 212.7 kB / 446.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2798, allocations: 142.8 kB / 446.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.2799, allocations: 74.14 kB / 446.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2801, allocations: 346.8 kB / 446.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005122/0.2806, allocations: 180.8 kB / 446.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.2812, allocations: 286.5 kB / 447.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.2822, allocations: 418.6 kB / 447.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2822, allocations: 0 / 447.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001918/0.2841, allocations: 0.682 MB / 448.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2841, allocations: 8 kB / 448.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2841, allocations: 0 / 448.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.2855, allocations: 325.4 kB / 448.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.2858, allocations: 79.88 kB / 448.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.2873, allocations: 1.343 MB / 449.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.2877, allocations: 83.64 kB / 450 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.2878, allocations: 20.05 kB / 450 MB, free: 5.656 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.0002263/0.288, allocations: 157.7 kB / 450.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.2881, allocations: 35.77 kB / 450.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.2902, allocations: 0.7162 MB / 450.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2902, allocations: 4 kB / 450.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.2902, allocations: 7.984 kB / 450.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2903, allocations: 0 / 450.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.2909, allocations: 444.2 kB / 451.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2909, allocations: 0 / 451.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.2912, allocations: 63.88 kB / 451.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.2924, allocations: 325.3 kB / 451.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.2924, allocations: 8 kB / 451.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.2938, allocations: 1.358 MB / 453.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2938, allocations: 0 / 453.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.2965, allocations: 1.019 MB / 454.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.2965, allocations: 35.67 kB / 454.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.2966, allocations: 12 kB / 454.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.297, allocations: 48 kB / 454.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.2971, allocations: 27.73 kB / 454.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.2971, allocations: 15.98 kB / 454.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.2974, allocations: 191.1 kB / 454.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2974, allocations: 0 / 454.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.2978, allocations: 103.9 kB / 454.5 MB, free: 0.9648 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.0001868/0.298, allocations: 126.7 kB / 454.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2993, allocations: 459.4 kB / 455.1 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2993, allocations: 192 / 455.1 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.2999, allocations: 240.2 kB / 455.3 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3003, allocations: 59.42 kB / 455.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3022, allocations: 0.9138 MB / 456.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3026, allocations: 0.7956 MB / 457.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.3027, allocations: 27.44 kB / 457.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3027, allocations: 3.938 kB / 457.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01062/0.3133, allocations: 7.214 MB / 464.4 MB, free: 7.086 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.861368342069909]