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.001408/0.001408, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 211.9 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003862/0.2123, allocations: 3.103 MB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2141, allocations: 1.332 MB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.2143, allocations: 7.938 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.2147, allocations: 95.22 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.2149, allocations: 130.9 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.2156, allocations: 418.7 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.2163, allocations: 0.8153 MB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.2164, allocations: 105.5 kB / 415.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.2169, allocations: 375.1 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.2183, allocations: 1.471 MB / 417.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2184, allocations: 68 kB / 417.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.2187, allocations: 143.9 kB / 418 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.2189, allocations: 227.8 kB / 418.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.2192, allocations: 358.1 kB / 418.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.2199, allocations: 0.9083 MB / 419.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.22, allocations: 0 / 419.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.22, allocations: 4 kB / 419.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.22, allocations: 4 kB / 419.4 MB, free: 8.055 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.0036/0.2236, allocations: 1.343 MB / 420.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2236, allocations: 8.031 kB / 420.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.2241, allocations: 104 kB / 420.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.2246, allocations: 435.5 kB / 421.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.2247, allocations: 29.38 kB / 421.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.2248, allocations: 40.38 kB / 421.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.2262, allocations: 0.642 MB / 422 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2263, allocations: 0 / 422 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.2263, allocations: 16 kB / 422.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2264, allocations: 8 kB / 422.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.2283, allocations: 0.6937 MB / 422.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.2317, allocations: 1.654 MB / 424.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.2331, allocations: 496.8 kB / 424.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008286/0.2339, allocations: 301.6 kB / 425.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.977e-05/0.234, allocations: 11.98 kB / 425.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2351, allocations: 498.6 kB / 425.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.2351, allocations: 0 / 425.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.00887/0.244, allocations: 2.8 MB / 428.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.244, allocations: 89.11 kB / 428.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.2449, allocations: 0.9141 MB / 429.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.245, allocations: 49.69 kB / 429.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.2452, allocations: 304.3 kB / 429.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2453, allocations: 165.8 kB / 430 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.2455, allocations: 122.2 kB / 430.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2457, allocations: 382.7 kB / 430.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.2466, allocations: 325.1 kB / 430.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.2475, allocations: 415 kB / 431.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2489, allocations: 0.5039 MB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.249, allocations: 4 kB / 431.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002737/0.2517, allocations: 0.9962 MB / 432.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2517, allocations: 8 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2517, allocations: 7.938 kB / 432.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.2527, allocations: 0.5373 MB / 433.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.2532, allocations: 115.8 kB / 433.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.259, allocations: 4.742 MB / 438.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.2604, allocations: 231.6 kB / 438.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.2605, allocations: 24.06 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.0003128/0.2608, allocations: 259.5 kB / 438.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.261, allocations: 75.09 kB / 438.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.2612, allocations: 106.2 kB / 438.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2612, allocations: 3.984 kB / 438.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2612, allocations: 4 kB / 438.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.2615, allocations: 212.1 kB / 439 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2616, allocations: 20 kB / 439 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.2634, allocations: 279.6 kB / 439.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/0.2638, allocations: 163.8 kB / 439.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00357/0.2674, allocations: 1.024 MB / 440.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002688/0.2701, allocations: 1.155 MB / 441.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008948/0.271, allocations: 299.8 kB / 441.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006014/0.2716, allocations: 0.667 MB / 442.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Backend: time 2.5e-07/0.2716, allocations: 0 / 442.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.2746, allocations: 1.312 MB / 443.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 0.001989/0.2766, allocations: 1.952 MB / 445.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01936/0.2959, allocations: 14.11 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