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.001118/0.001118, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.002858, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001249/0.001249, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002846, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.035/1.035, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08883/1.124, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.7 MB " [Timeout remaining time 179] 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.664e-06/1.664e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.4e-05, allocations: 5.828 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006023/0.006047, allocations: 4.399 MB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.008934, allocations: 1.62 MB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.009209, allocations: 15.88 kB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.00956, allocations: 138.7 kB / 251.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.01015, allocations: 289.5 kB / 251.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.01101, allocations: 443 kB / 251.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.01213, allocations: 1.182 MB / 253.1 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.01244, allocations: 192.2 kB / 253.3 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.01337, allocations: 0.7438 MB / 254 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.01394, allocations: 442.9 kB / 254.4 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.01408, allocations: 92 kB / 254.5 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.0144, allocations: 171.8 kB / 254.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.01462, allocations: 163.5 kB / 254.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.01495, allocations: 263.5 kB / 255.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.01595, allocations: 0.7319 MB / 255.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.01597, allocations: 3.938 kB / 255.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01597, allocations: 4 kB / 255.9 MB, free: 2.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.016, allocations: 0 / 255.9 MB, free: 2.762 MB / 250.7 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.002362/0.01837, allocations: 1.345 MB / 257.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.0184, allocations: 8.625 kB / 257.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.01888, allocations: 229.9 kB / 257.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.01947, allocations: 340.1 kB / 257.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.01953, allocations: 54.38 kB / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.01966, allocations: 84.31 kB / 257.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.02061, allocations: 0.562 MB / 258.5 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.02064, allocations: 7.938 kB / 258.5 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.0207, allocations: 28 kB / 258.5 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.02072, allocations: 16 kB / 258.5 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.02162, allocations: 353.7 kB / 258.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.02368, allocations: 1.376 MB / 260.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.02417, allocations: 423.3 kB / 260.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.02438, allocations: 188.4 kB / 260.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.02444, allocations: 21 kB / 260.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.02486, allocations: 356.8 kB / 261.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.885e-06/0.02487, allocations: 0 / 261.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.003706/0.02857, allocations: 2.478 MB / 263.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.0286, allocations: 68.34 kB / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.02884, allocations: 372.8 kB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.0289, allocations: 53.7 kB / 264.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.029, allocations: 250.5 kB / 264.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.02918, allocations: 392.7 kB / 264.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.02936, allocations: 194.8 kB / 265 MB, free: 9.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.02947, allocations: 382.6 kB / 265.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.0297, allocations: 158.5 kB / 265.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.02994, allocations: 267.3 kB / 265.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.03033, allocations: 428.5 kB / 266.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.03033, allocations: 0 / 266.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00084/0.03117, allocations: 0.6828 MB / 266.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.03119, allocations: 8 kB / 266.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.03119, allocations: 7.938 kB / 266.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.03169, allocations: 410.1 kB / 267.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.03213, allocations: 230.8 kB / 267.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.03387, allocations: 2.69 MB / 270.2 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.03419, allocations: 119.9 kB / 270.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.03423, allocations: 27.98 kB / 270.3 MB, free: 3.82 MB / 266.7 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.0001642/0.03439, allocations: 184.4 kB / 270.5 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.03448, allocations: 83.94 kB / 270.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.0347, allocations: 107.1 kB / 270.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.03471, allocations: 8 kB / 270.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.03471, allocations: 0 / 270.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.03471, allocations: 3.984 kB / 270.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.03628, allocations: 1.316 MB / 272 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03628, allocations: 4 kB / 272 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.0367, allocations: 200 kB / 272.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.03688, allocations: 95.48 kB / 272.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.03731, allocations: 402.1 kB / 272.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.03736, allocations: 31.97 kB / 272.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.03899, allocations: 2.537 MB / 275.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.03899, allocations: 7.938 kB / 275.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.03999, allocations: 0.9559 MB / 276.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.04007, allocations: 28 kB / 276.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.04046, allocations: 131.8 kB / 276.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.04089, allocations: 360.2 kB / 276.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.04094, allocations: 35.95 kB / 276.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.04104, allocations: 156.7 kB / 277 MB, free: 12.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04104, allocations: 0 / 277 MB, free: 12.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.04145, allocations: 243.9 kB / 277.2 MB, free: 12.7 MB / 282.7 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.001144/0.04259, allocations: 0.5174 MB / 277.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007279/0.04332, allocations: 0.6722 MB / 278.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/0.04334, allocations: 11.98 kB / 278.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.04375, allocations: 479 kB / 278.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.04421, allocations: 257.8 kB / 279.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.0479, allocations: 1.568 MB / 280.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.048, allocations: 169.3 kB / 280.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.04821, allocations: 89.64 kB / 280.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.0485, allocations: 205.2 kB / 281.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0485, allocations: 0 / 281.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of Templates: time 0.1259/0.1744, allocations: 17.67 MB / 298.8 MB, free: 30.4 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.251315837725997]