Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 98.44 kB / 21.93 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.86 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3616, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005944/0.3676, allocations: 3.912 MB / 401.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.3705, allocations: 1.301 MB / 402.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.3709, allocations: 17.53 kB / 402.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.3713, allocations: 116.7 kB / 402.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.3717, allocations: 226 kB / 403.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3731, allocations: 442.2 kB / 403.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3744, allocations: 1.133 MB / 404.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.3748, allocations: 177.4 kB / 404.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.3756, allocations: 492.2 kB / 405.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.3763, allocations: 488.8 kB / 405.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3764, allocations: 92.25 kB / 405.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.3768, allocations: 147 kB / 406.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.3771, allocations: 221.2 kB / 406.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.3775, allocations: 386.1 kB / 406.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.3789, allocations: 1.077 MB / 407.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3789, allocations: 0 / 407.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3789, allocations: 0 / 407.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3789, allocations: 1.375 kB / 407.8 MB, free: 3.566 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003804/0.3827, allocations: 1.36 MB / 409.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001024/0.3828, allocations: 13.58 kB / 409.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.3832, allocations: 97.69 kB / 409.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.3843, allocations: 379.3 kB / 409.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.3844, allocations: 55.56 kB / 409.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.3845, allocations: 75.56 kB / 409.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3864, allocations: 0.8055 MB / 410.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.3864, allocations: 10.17 kB / 410.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.3865, allocations: 30.75 kB / 410.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.3865, allocations: 19.69 kB / 410.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.3886, allocations: 0.8591 MB / 411.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.3927, allocations: 1.849 MB / 413.3 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.3943, allocations: 0.6713 MB / 414 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.3953, allocations: 441 kB / 414.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/0.3954, allocations: 8.812 kB / 414.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.3966, allocations: 0.5493 MB / 415 MB, free: 15.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 3.917e-06/0.3966, allocations: 0 / 415 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.0126/0.4092, allocations: 3.852 MB / 418.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.4093, allocations: 62.69 kB / 418.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.41, allocations: 375.9 kB / 419.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.4101, allocations: 54.16 kB / 419.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.4104, allocations: 286.6 kB / 419.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.4109, allocations: 370.6 kB / 419.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.4112, allocations: 190.9 kB / 420.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.4115, allocations: 372.6 kB / 420.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.4125, allocations: 445.6 kB / 420.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4137, allocations: 0.535 MB / 421.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.4155, allocations: 0.7792 MB / 422.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4155, allocations: 0 / 422.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003323/0.4188, allocations: 1.35 MB / 423.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.4188, allocations: 8 kB / 423.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4188, allocations: 0 / 423.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.4201, allocations: 0.6465 MB / 424.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.4209, allocations: 211.7 kB / 424.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.4254, allocations: 3.281 MB / 427.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.4267, allocations: 175.9 kB / 427.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4268, allocations: 39.98 kB / 427.9 MB, free: 4.379 MB / 334.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,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000524/0.4274, allocations: 225.5 kB / 428.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.4276, allocations: 75.58 kB / 428.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.4278, allocations: 102.9 kB / 428.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4278, allocations: 8 kB / 428.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.4278, allocations: 0 / 428.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4278, allocations: 3.984 kB / 428.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.4327, allocations: 2.187 MB / 430.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4327, allocations: 11.94 kB / 430.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.4335, allocations: 175.8 kB / 430.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.4347, allocations: 0.6116 MB / 431.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.4348, allocations: 35.97 kB / 431.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.4389, allocations: 3.085 MB / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4389, allocations: 0 / 434.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/0.4432, allocations: 1.849 MB / 436.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.4438, allocations: 155.4 kB / 436.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.444, allocations: 32 kB / 436.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.4454, allocations: 207.7 kB / 436.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009345/0.4464, allocations: 388.3 kB / 437.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.4465, allocations: 43.95 kB / 437.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000358/0.4468, allocations: 255.2 kB / 437.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4468, allocations: 0 / 437.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4479, allocations: 251.9 kB / 437.6 MB, free: 10.42 MB / 350.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 (89): * Single equations (assignments): 86 * 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,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003864/0.4483, allocations: 164.8 kB / 437.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.4512, allocations: 1.114 MB / 438.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4512, allocations: 0 / 438.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.4528, allocations: 0.6961 MB / 439.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.4538, allocations: 135 kB / 439.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.4585, allocations: 2.005 MB / 441.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4589, allocations: 336.8 kB / 442 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.4592, allocations: 71.42 kB / 442.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4592, allocations: 0 / 442.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of Templates: time 0.02944/0.4887, allocations: 17.83 MB / 459.9 MB, free: 3.906 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.415365173015743]