Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2089, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004261/0.2131, allocations: 3.099 MB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2153, allocations: 1.328 MB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2155, allocations: 8 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.2159, allocations: 103.1 kB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2161, allocations: 126.9 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.2169, allocations: 418.6 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.2176, allocations: 0.8153 MB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.2178, allocations: 105.5 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.2182, allocations: 387 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.2197, allocations: 1.463 MB / 417.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2199, allocations: 71.94 kB / 417.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.2201, allocations: 128 kB / 417.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.2203, allocations: 239.7 kB / 418.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.2206, allocations: 350.1 kB / 418.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000798/0.2215, allocations: 0.9083 MB / 419.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2215, allocations: 8 kB / 419.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2215, allocations: 0 / 419.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2215, allocations: 0 / 419.4 MB, free: 8.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003574/0.2251, allocations: 1.351 MB / 420.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2251, allocations: 8.031 kB / 420.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.2256, allocations: 104 kB / 420.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.2262, allocations: 431.5 kB / 421.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.2262, allocations: 33.38 kB / 421.4 MB, free: 6.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.2263, allocations: 36.38 kB / 421.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2278, allocations: 0.642 MB / 422 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2278, allocations: 3.984 kB / 422 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.2279, allocations: 16 kB / 422 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2279, allocations: 8 kB / 422.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.2299, allocations: 0.6898 MB / 422.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.2332, allocations: 1.658 MB / 424.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2346, allocations: 0.4889 MB / 424.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.2354, allocations: 305.5 kB / 425.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.2355, allocations: 4 kB / 425.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.2366, allocations: 494.6 kB / 425.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.2366, allocations: 0 / 425.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.008718/0.2453, allocations: 2.8 MB / 428.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2454, allocations: 89.11 kB / 428.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.2462, allocations: 0.9141 MB / 429.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.2463, allocations: 49.69 kB / 429.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.2465, allocations: 292.3 kB / 429.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.2467, allocations: 181.8 kB / 430 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.2469, allocations: 114.2 kB / 430.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2471, allocations: 382.7 kB / 430.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/0.248, allocations: 329.1 kB / 430.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.2489, allocations: 422.9 kB / 431.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.2504, allocations: 0.5108 MB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2504, allocations: 3.938 kB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002695/0.2531, allocations: 0.991 MB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2531, allocations: 8 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2531, allocations: 7.938 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2541, allocations: 0.5412 MB / 433.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.2547, allocations: 107.9 kB / 433.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.2606, allocations: 4.747 MB / 438.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.262, allocations: 231.6 kB / 438.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.262, allocations: 24 kB / 438.4 MB, free: 4.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,stop1.stopped,stop1.mode,$PRE.stop1.mode,stop1.locked,stop1.startBackward,$PRE.stop1.startBackward,stop1.startForward,$PRE.stop1.startForward,stop1.free,$whenCondition2,stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003274/0.2624, allocations: 257.1 kB / 438.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2625, allocations: 79.08 kB / 438.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.2627, allocations: 102.2 kB / 438.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2627, allocations: 0 / 438.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2627, allocations: 7.984 kB / 438.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.263, allocations: 208.1 kB / 439 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2631, allocations: 20 kB / 439 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/0.2649, allocations: 279.6 kB / 439.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.2653, allocations: 167.8 kB / 439.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003479/0.2687, allocations: 1.028 MB / 440.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002619/0.2714, allocations: 1.147 MB / 441.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008654/0.2723, allocations: 299.8 kB / 441.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006274/0.2729, allocations: 0.6709 MB / 442.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Backend: time 5.11e-07/0.2729, allocations: 0 / 442.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.2759, allocations: 1.3 MB / 443.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 0.002096/0.2781, allocations: 1.96 MB / 445.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Templates: time 0.0203/0.2984, allocations: 14.12 MB / 460 MB, free: 14.75 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Friction/Friction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches