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.00155/0.00155, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001708/0.001708, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.451/1.451, allocations: 230.2 MB / 255.2 MB, free: 15.21 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.001911/0.001911, allocations: 59.91 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09865, allocations: 53.32 MB / 427.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00489/0.1035, allocations: 3.169 MB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1053, allocations: 0.8624 MB / 431.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.1057, allocations: 4 kB / 431.9 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.106, allocations: 59.38 kB / 431.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1062, allocations: 114.9 kB / 432.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.1067, allocations: 159.7 kB / 432.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2018/0.3085, allocations: 0.5477 MB / 432.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.3088, allocations: 121.9 kB / 432.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.3093, allocations: 227.4 kB / 433.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.3096, allocations: 257 kB / 433.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.494e-05/0.3097, allocations: 51.62 kB / 433.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3098, allocations: 60.58 kB / 433.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.3099, allocations: 112.7 kB / 433.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3101, allocations: 243 kB / 433.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.3107, allocations: 0.5579 MB / 434.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3107, allocations: 0.75 kB / 434.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3107, allocations: 0 / 434.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3107, allocations: 2.719 kB / 434.4 MB, free: 8.031 MB / 350.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.001541/0.3122, allocations: 0.8046 MB / 435.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3123, allocations: 9.25 kB / 435.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.3125, allocations: 62.69 kB / 435.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.3129, allocations: 323.1 kB / 435.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.3129, allocations: 26.59 kB / 435.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.313, allocations: 36.44 kB / 435.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3141, allocations: 0.504 MB / 436.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3141, allocations: 3.938 kB / 436.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.3142, allocations: 14.34 kB / 436.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3142, allocations: 15.94 kB / 436.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.3156, allocations: 0.5 MB / 436.7 MB, free: 7.164 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.002516/0.3182, allocations: 1.665 MB / 438.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3193, allocations: 401.2 kB / 438.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/0.3198, allocations: 215.1 kB / 438.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.3199, allocations: 18.36 kB / 438.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3199, allocations: 38.98 kB / 439 MB, free: 6.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.3199, allocations: 0.75 kB / 439 MB, free: 6.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005195/0.3251, allocations: 1.349 MB / 440.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3252, allocations: 172.1 kB / 440.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.3255, allocations: 270.7 kB / 440.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3255, allocations: 36.64 kB / 440.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3257, allocations: 213.8 kB / 441 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3258, allocations: 145.5 kB / 441.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3259, allocations: 72.77 kB / 441.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.326, allocations: 345.5 kB / 441.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.3265, allocations: 182.9 kB / 441.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.3271, allocations: 280.5 kB / 442 MB, free: 4.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3281, allocations: 427.7 kB / 442.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3281, allocations: 0.6875 kB / 442.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002013/0.3301, allocations: 0.6776 MB / 443.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3301, allocations: 11.16 kB / 443.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3302, allocations: 2.719 kB / 443.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.3316, allocations: 319 kB / 443.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.3319, allocations: 79.73 kB / 443.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.333, allocations: 1.352 MB / 444.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.3335, allocations: 76.41 kB / 444.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3335, allocations: 18.38 kB / 445 MB, free: 2.699 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.0001946/0.3337, allocations: 157 kB / 445.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.3338, allocations: 38.67 kB / 445.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.336, allocations: 0.7164 MB / 445.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.336, allocations: 5.391 kB / 445.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.336, allocations: 0 / 445.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.336, allocations: 2.906 kB / 445.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.3366, allocations: 476.8 kB / 446.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3366, allocations: 2 kB / 446.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3369, allocations: 57.94 kB / 446.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3381, allocations: 321.6 kB / 446.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.3381, allocations: 15.47 kB / 446.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009593/0.339, allocations: 1.355 MB / 448.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.339, allocations: 4.125 kB / 448.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.3416, allocations: 1.017 MB / 449.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.3417, allocations: 112.1 kB / 449.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3417, allocations: 7.266 kB / 449.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.3421, allocations: 49.22 kB / 449.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.3422, allocations: 27.31 kB / 449.3 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.3422, allocations: 12.64 kB / 449.3 MB, free: 160 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3424, allocations: 195 kB / 449.5 MB, free: 44 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 1.25 kB / 449.5 MB, free: 44 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004344/0.3429, allocations: 112.9 kB / 449.6 MB, free: 16 kB / 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.0002139/0.3431, allocations: 118.7 kB / 449.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.3444, allocations: 455.5 kB / 450.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3444, allocations: 4 kB / 450.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.3451, allocations: 239.3 kB / 450.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3455, allocations: 56 kB / 450.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.3473, allocations: 0.9052 MB / 451.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.3479, allocations: 0.7986 MB / 452.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.348, allocations: 27.59 kB / 452.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.348, allocations: 0 / 452.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01148/0.3595, allocations: 7.232 MB / 459.4 MB, free: 11.63 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/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_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: 7.580184296006337]