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.001568/0.001568, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002071/0.002071, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.613/1.613, allocations: 230.5 MB / 258.1 MB, free: 8.145 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.001993/0.001993, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00577/0.3543, allocations: 3.192 MB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3562, allocations: 0.8546 MB / 436.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.3565, allocations: 4 kB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.3567, allocations: 71.3 kB / 436.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.3569, allocations: 114.9 kB / 436.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.3574, allocations: 159.7 kB / 436.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006766/0.3581, allocations: 0.5424 MB / 437 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.3585, allocations: 128.3 kB / 437.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.3589, allocations: 231.2 kB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.3593, allocations: 255 kB / 437.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.3594, allocations: 52 kB / 437.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3595, allocations: 56 kB / 437.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3596, allocations: 111.7 kB / 437.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.3599, allocations: 246.8 kB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.3607, allocations: 0.554 MB / 438.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3607, allocations: 0 / 438.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3607, allocations: 4 kB / 438.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3607, allocations: 0 / 438.6 MB, free: 0.8047 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.002193/0.3629, allocations: 0.8067 MB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3629, allocations: 12.03 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.3632, allocations: 64.58 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.3639, allocations: 323.4 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.3639, allocations: 29.38 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.364, allocations: 36.38 kB / 439.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3652, allocations: 0.5047 MB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3652, allocations: 0 / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.3653, allocations: 16 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3653, allocations: 12 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3667, allocations: 0.4918 MB / 440.9 MB, free: 14.41 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.002983/0.3697, allocations: 1.668 MB / 442.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.3709, allocations: 407.6 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.3715, allocations: 221.4 kB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.3715, allocations: 8.312 kB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.3716, allocations: 42.83 kB / 443.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.394e-06/0.3716, allocations: 0 / 443.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005356/0.3769, allocations: 1.358 MB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.3771, allocations: 158.2 kB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3775, allocations: 275 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.3776, allocations: 37.7 kB / 445 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3778, allocations: 208.7 kB / 445.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.378, allocations: 146.7 kB / 445.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.3782, allocations: 82.12 kB / 445.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3784, allocations: 338.8 kB / 445.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/0.3789, allocations: 184.7 kB / 446 MB, free: 9.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.3797, allocations: 278.5 kB / 446.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.3809, allocations: 422.5 kB / 446.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.3809, allocations: 4 kB / 446.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002118/0.383, allocations: 0.682 MB / 447.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.383, allocations: 4 kB / 447.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.383, allocations: 7.938 kB / 447.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.3845, allocations: 321.4 kB / 447.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.3848, allocations: 79.88 kB / 447.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.3868, allocations: 1.347 MB / 449.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.3874, allocations: 83.78 kB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3875, allocations: 16 kB / 449.2 MB, free: 5.68 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.0003698/0.3879, allocations: 153.8 kB / 449.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.388, allocations: 43.8 kB / 449.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.3903, allocations: 0.7161 MB / 450.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3904, allocations: 8 kB / 450.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3904, allocations: 0 / 450.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3904, allocations: 0 / 450.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.3911, allocations: 477 kB / 450.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3911, allocations: 0 / 450.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3915, allocations: 59.89 kB / 450.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.3928, allocations: 321.4 kB / 450.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.3928, allocations: 12 kB / 451 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.3944, allocations: 1.362 MB / 452.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3944, allocations: 0 / 452.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.3972, allocations: 1.008 MB / 453.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3974, allocations: 113 kB / 453.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.3975, allocations: 12.06 kB / 453.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.3978, allocations: 47.89 kB / 453.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.3979, allocations: 31.67 kB / 453.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.398, allocations: 12 kB / 453.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.3982, allocations: 190 kB / 453.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3982, allocations: 0 / 453.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.3987, allocations: 123.8 kB / 453.8 MB, free: 0.8516 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.0002134/0.399, allocations: 115.5 kB / 454 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.4004, allocations: 459.4 kB / 454.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.4004, allocations: 0 / 454.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.4011, allocations: 248.2 kB / 454.6 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4015, allocations: 43.64 kB / 454.7 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4035, allocations: 0.8919 MB / 455.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.4041, allocations: 0.7956 MB / 456.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.4043, allocations: 26.98 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.4043, allocations: 27.42 kB / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4043, allocations: 4 kB / 456.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01335/0.4177, allocations: 6.235 MB / 462.7 MB, free: 7.992 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.014206891879439]