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.001803/0.001803, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002362/0.002362, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001996/0.001996, allocations: 64.77 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 53.37 MB / 432.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00613/0.2995, allocations: 3.183 MB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.3019, allocations: 0.8584 MB / 436.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.3022, allocations: 11.94 kB / 436.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3025, allocations: 63.36 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.3027, allocations: 114.9 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.3032, allocations: 159.7 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.3038, allocations: 0.554 MB / 437.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.3042, allocations: 116.8 kB / 437.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.3046, allocations: 239.2 kB / 437.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.305, allocations: 251 kB / 437.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.036e-05/0.305, allocations: 55.94 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3052, allocations: 60 kB / 438.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3053, allocations: 111.7 kB / 438.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.3056, allocations: 242.9 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.3063, allocations: 0.5581 MB / 439 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3063, allocations: 0 / 439 MB, free: 244 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3063, allocations: 0 / 439 MB, free: 244 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3063, allocations: 0 / 439 MB, free: 244 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.001716/0.308, allocations: 0.7385 MB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3081, allocations: 8.031 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.3083, allocations: 60.64 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.3088, allocations: 273.1 kB / 440 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.3089, allocations: 25.38 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.3089, allocations: 40.33 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.31, allocations: 0.4961 MB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.3101, allocations: 3.938 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.3101, allocations: 23.94 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3101, allocations: 8 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3115, allocations: 0.4996 MB / 441.1 MB, free: 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.002877/0.3143, allocations: 1.617 MB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3155, allocations: 399.6 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.316, allocations: 231.1 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.316, allocations: 4.328 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.3161, allocations: 46.83 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.3161, allocations: 0 / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004958/0.321, allocations: 1.207 MB / 444.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3212, allocations: 158.2 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3215, allocations: 280.2 kB / 445.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.3216, allocations: 29.7 kB / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3217, allocations: 216.7 kB / 445.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3219, allocations: 138.8 kB / 445.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.322, allocations: 78.12 kB / 445.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3222, allocations: 350.7 kB / 445.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.3227, allocations: 180.8 kB / 446 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.3233, allocations: 282.5 kB / 446.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.3244, allocations: 430.5 kB / 446.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3244, allocations: 0 / 446.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00192/0.3263, allocations: 0.6705 MB / 447.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3263, allocations: 8 kB / 447.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3263, allocations: 7.969 kB / 447.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.3277, allocations: 317.5 kB / 447.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.3281, allocations: 79.88 kB / 447.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3296, allocations: 1.343 MB / 449.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.33, allocations: 83.77 kB / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.3301, allocations: 19.92 kB / 449.2 MB, free: 5.516 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.0002212/0.3303, allocations: 157.7 kB / 449.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.3304, allocations: 43.75 kB / 449.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.3326, allocations: 0.7123 MB / 450.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3326, allocations: 4 kB / 450.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3326, allocations: 3.938 kB / 450.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3326, allocations: 3.984 kB / 450.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.3332, allocations: 440.2 kB / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3332, allocations: 0 / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.3335, allocations: 59.95 kB / 450.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.3347, allocations: 321.4 kB / 451 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.3348, allocations: 8 kB / 451 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.3362, allocations: 1.366 MB / 452.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3362, allocations: 0 / 452.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.3388, allocations: 1.016 MB / 453.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.3389, allocations: 35.66 kB / 453.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.3389, allocations: 8 kB / 453.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.3393, allocations: 51.94 kB / 453.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3394, allocations: 35.61 kB / 453.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.3394, allocations: 12.06 kB / 453.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.3397, allocations: 199.1 kB / 453.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3397, allocations: 0 / 453.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.3401, allocations: 107.8 kB / 453.8 MB, free: 0.8125 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.0001843/0.3403, allocations: 111.2 kB / 453.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.3416, allocations: 455.7 kB / 454.3 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3416, allocations: 4.062 kB / 454.3 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.3422, allocations: 239.9 kB / 454.6 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3426, allocations: 63.5 kB / 454.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3444, allocations: 0.8822 MB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3449, allocations: 0.7956 MB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.345, allocations: 26.98 kB / 456.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.3451, allocations: 23.44 kB / 456.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3451, allocations: 0 / 456.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01287/0.3579, allocations: 6.341 MB / 462.7 MB, free: 7.855 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/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_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: 4.787507991306484]