Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.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.00145/0.00145, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001573/0.001573, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.539/1.539, allocations: 230.5 MB / 258.1 MB, free: 7.992 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.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 59.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2959, allocations: 53.42 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006786/0.3027, allocations: 4.513 MB / 437 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.3062, allocations: 1.59 MB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.3067, allocations: 15.88 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.3072, allocations: 134.7 kB / 438.7 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.3079, allocations: 277.8 kB / 439 MB, free: 220 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.309, allocations: 434.6 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3103, allocations: 1.17 MB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.3106, allocations: 194.2 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.3114, allocations: 0.5102 MB / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.3121, allocations: 0.5371 MB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.3123, allocations: 96 kB / 441.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.3126, allocations: 156 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.3129, allocations: 247.2 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004685/0.3134, allocations: 469.9 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.3147, allocations: 1.134 MB / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3147, allocations: 0 / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3147, allocations: 3.938 kB / 443.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3147, allocations: 0 / 443.9 MB, free: 11.28 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003418/0.3182, allocations: 1.395 MB / 445.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3182, allocations: 12.03 kB / 445.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.3187, allocations: 120.3 kB / 445.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.3196, allocations: 408 kB / 445.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.3196, allocations: 54.38 kB / 445.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.3198, allocations: 80.11 kB / 445.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3215, allocations: 0.7959 MB / 446.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.3215, allocations: 7.953 kB / 446.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.3216, allocations: 35.98 kB / 446.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3216, allocations: 19.94 kB / 446.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3236, allocations: 0.8393 MB / 447.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.3284, allocations: 2.358 MB / 450 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.33, allocations: 0.6889 MB / 450.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009326/0.3309, allocations: 420.3 kB / 451.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/0.331, allocations: 12.98 kB / 451.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.3322, allocations: 0.5399 MB / 451.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.645e-06/0.3322, allocations: 0 / 451.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01133/0.3436, allocations: 3.802 MB / 455.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3436, allocations: 64.41 kB / 455.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.3443, allocations: 421.8 kB / 455.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3444, allocations: 57.69 kB / 456 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3446, allocations: 285.5 kB / 456.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.345, allocations: 384.8 kB / 456.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3453, allocations: 190.8 kB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3455, allocations: 378.8 kB / 457.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/0.3464, allocations: 414.4 kB / 457.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3475, allocations: 0.5072 MB / 458.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.3492, allocations: 0.7517 MB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3492, allocations: 0 / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00323/0.3524, allocations: 1.28 MB / 460.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3524, allocations: 8 kB / 460.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3524, allocations: 0 / 460.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3536, allocations: 0.5333 MB / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.3544, allocations: 203.7 kB / 460.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.3589, allocations: 3.303 MB / 464.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.3602, allocations: 175.8 kB / 464.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.3603, allocations: 43.98 kB / 464.4 MB, free: 6.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004787/0.3608, allocations: 221.6 kB / 464.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.3609, allocations: 79.47 kB / 464.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3612, allocations: 107.2 kB / 464.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3612, allocations: 12 kB / 464.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3612, allocations: 0 / 464.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.3612, allocations: 7.969 kB / 464.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.3661, allocations: 2.433 MB / 467.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.3661, allocations: 4 kB / 467.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.3669, allocations: 171.8 kB / 467.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.3679, allocations: 0.5021 MB / 467.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.368, allocations: 35.97 kB / 467.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/0.372, allocations: 3.08 MB / 471 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.372, allocations: 4.031 kB / 471 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.376, allocations: 1.761 MB / 472.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.3765, allocations: 163.4 kB / 472.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.3767, allocations: 32 kB / 473 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.378, allocations: 203.7 kB / 473.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009706/0.379, allocations: 396.2 kB / 473.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.3791, allocations: 43.95 kB / 473.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.3795, allocations: 287.1 kB / 473.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3795, allocations: 0 / 473.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009752/0.3805, allocations: 240 kB / 474.1 MB, free: 12.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,7), (1,8), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001558/0.3821, allocations: 420.1 kB / 474.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.3849, allocations: 1.087 MB / 475.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.3849, allocations: 4 kB / 475.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.3865, allocations: 0.6804 MB / 476.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3875, allocations: 155.1 kB / 476.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.3924, allocations: 2.056 MB / 478.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.3931, allocations: 0.948 MB / 479.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.3934, allocations: 75.41 kB / 479.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3934, allocations: 0 / 479.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of Templates: time 0.02696/0.4204, allocations: 18.38 MB / 497.9 MB, free: 4.352 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.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: 9.520185475004837]