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.001379/0.001379, allocations: 88.83 kB / 20.68 MB, free: 1.02 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.001502/0.001502, allocations: 158.1 kB / 23.95 MB, free: 4.145 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.507/1.507, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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 1.513e-06/1.513e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.34e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006359/0.006382, allocations: 4.079 MB / 329.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.01003, allocations: 1.536 MB / 330.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.01068, allocations: 12.72 kB / 330.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.01122, allocations: 138.6 kB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009274/0.01215, allocations: 300.9 kB / 331.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.01357, allocations: 431.2 kB / 331.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.01514, allocations: 1.207 MB / 332.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.01553, allocations: 175.8 kB / 332.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.01675, allocations: 0.6968 MB / 333.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007468/0.01749, allocations: 438.7 kB / 334 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.01766, allocations: 94.78 kB / 334.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.01809, allocations: 166.5 kB / 334.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.01841, allocations: 249.5 kB / 334.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.01885, allocations: 335.5 kB / 334.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.02045, allocations: 1.206 MB / 336 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.02046, allocations: 0 / 336 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.02046, allocations: 1.375 kB / 336 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.02048, allocations: 0 / 336 MB, free: 9.191 MB / 302.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.004127/0.02461, allocations: 1.402 MB / 337.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.02467, allocations: 14.45 kB / 337.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/0.02535, allocations: 118.2 kB / 337.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.02627, allocations: 410.6 kB / 338 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.02635, allocations: 54.94 kB / 338 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.02653, allocations: 75.05 kB / 338.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.02851, allocations: 0.8025 MB / 338.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.02854, allocations: 11.88 kB / 338.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.02865, allocations: 35.98 kB / 338.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.02868, allocations: 16 kB / 338.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.03091, allocations: 0.8315 MB / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004854/0.03576, allocations: 1.866 MB / 341.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.03744, allocations: 0.6825 MB / 342.3 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.03846, allocations: 424.2 kB / 342.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.03854, allocations: 9 kB / 342.7 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.03985, allocations: 0.5399 MB / 343.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=90): time 3.747e-06/0.03985, allocations: 0 / 343.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=110): time 0.01302/0.05287, allocations: 3.787 MB / 347.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.05293, allocations: 68.34 kB / 347.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.05348, allocations: 413.8 kB / 347.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.05359, allocations: 57.69 kB / 347.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.05383, allocations: 281.5 kB / 347.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.05419, allocations: 388.8 kB / 348.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.05454, allocations: 186.9 kB / 348.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.05474, allocations: 378.8 kB / 348.8 MB, free: 13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.05577, allocations: 410.4 kB / 349.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.05692, allocations: 0.511 MB / 349.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.05877, allocations: 0.7401 MB / 350.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.05878, allocations: 4 kB / 350.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003413/0.06219, allocations: 1.295 MB / 351.8 MB, free: 10 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.06221, allocations: 4 kB / 351.8 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.06222, allocations: 4 kB / 351.8 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.06343, allocations: 0.5372 MB / 352.3 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/0.06429, allocations: 191.8 kB / 352.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.0691, allocations: 3.254 MB / 355.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.07044, allocations: 179.9 kB / 355.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.07052, allocations: 36.17 kB / 356 MB, free: 5.637 MB / 318.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.0004376/0.07096, allocations: 225.8 kB / 356.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.07114, allocations: 83.41 kB / 356.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.07139, allocations: 107.1 kB / 356.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.0714, allocations: 12 kB / 356.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.07141, allocations: 7.984 kB / 356.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.07143, allocations: 7.922 kB / 356.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.07631, allocations: 2.13 MB / 358.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.07632, allocations: 4 kB / 358.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008975/0.07721, allocations: 176 kB / 358.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.0783, allocations: 0.502 MB / 359.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.07839, allocations: 35.95 kB / 359.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.08253, allocations: 3.038 MB / 362.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.08253, allocations: 4 kB / 362.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.08669, allocations: 1.761 MB / 364 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.08719, allocations: 155.4 kB / 364.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.08735, allocations: 35.94 kB / 364.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.08882, allocations: 207.7 kB / 364.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/0.08984, allocations: 392.3 kB / 364.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.96e-05/0.08994, allocations: 43.95 kB / 364.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003842/0.09033, allocations: 275.2 kB / 365.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09033, allocations: 0 / 365.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000881/0.09121, allocations: 243.9 kB / 365.4 MB, free: 11.94 MB / 334.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.00163/0.09284, allocations: 426 kB / 365.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.09579, allocations: 1.087 MB / 366.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.0958, allocations: 4 kB / 366.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.09762, allocations: 0.7273 MB / 367.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.09879, allocations: 162.6 kB / 367.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.104, allocations: 1.818 MB / 369.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.1044, allocations: 353.5 kB / 369.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.1049, allocations: 77.66 kB / 370 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.1052, allocations: 72.47 kB / 370.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1052, allocations: 4 kB / 370.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of Templates: time 0.03131/0.1365, allocations: 15.86 MB / 385.9 MB, free: 7.5 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins/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: 5.094346448779106]