Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 114.3 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009457/0.0009457, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2053, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.00371/0.209, allocations: 3.003 MB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2108, allocations: 1.157 MB / 405.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.211, allocations: 4 kB / 405.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2113, allocations: 83.28 kB / 405.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2115, allocations: 114.9 kB / 405.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.2123, allocations: 417.8 kB / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006886/0.213, allocations: 0.8074 MB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.2132, allocations: 93.59 kB / 407.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.2136, allocations: 355.1 kB / 407.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.2149, allocations: 1.342 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.215, allocations: 68 kB / 408.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.2153, allocations: 119.9 kB / 408.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.2155, allocations: 227.8 kB / 409.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.2158, allocations: 350 kB / 409.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.2166, allocations: 0.8733 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2166, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2166, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2166, allocations: 0 / 410.4 MB, free: 15.86 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003679/0.2203, allocations: 1.324 MB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2203, allocations: 8.031 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.2205, allocations: 76 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.221, allocations: 431.5 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.221, allocations: 29.38 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.2211, allocations: 36.38 kB / 412.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.223, allocations: 1.165 MB / 413.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.223, allocations: 0 / 413.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.2231, allocations: 23.92 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2231, allocations: 11.98 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.2258, allocations: 1.736 MB / 415.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/0.2298, allocations: 2.475 MB / 417.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.2315, allocations: 0.9023 MB / 418.6 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2326, allocations: 0.724 MB / 419.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.2326, allocations: 4.5 kB / 419.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.2341, allocations: 0.9083 MB / 420.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.2341, allocations: 0 / 420.2 MB, free: 5.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.01106/0.2451, allocations: 5.781 MB / 426 MB, free: 15.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2452, allocations: 81.11 kB / 426.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2462, allocations: 0.918 MB / 427 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-05/0.2463, allocations: 45.7 kB / 427 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2465, allocations: 304.2 kB / 427.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2467, allocations: 161.9 kB / 427.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.2469, allocations: 122.2 kB / 427.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2471, allocations: 382.8 kB / 428 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.2483, allocations: 0.8447 MB / 428.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.2497, allocations: 0.9362 MB / 429.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.2518, allocations: 1.472 MB / 431.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2518, allocations: 0 / 431.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003655/0.2554, allocations: 2.476 MB / 433.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2555, allocations: 12.03 kB / 433.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2555, allocations: 0 / 433.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.2574, allocations: 1.904 MB / 435.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.258, allocations: 115.8 kB / 435.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007324/0.2653, allocations: 6.707 MB / 442.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.2668, allocations: 227.7 kB / 442.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.2669, allocations: 20 kB / 442.7 MB, free: 14.68 MB / 366.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,6), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.2672, allocations: 263.9 kB / 443 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.2673, allocations: 67.23 kB / 443 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.2675, allocations: 106.2 kB / 443.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2675, allocations: 0 / 443.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2676, allocations: 3.984 kB / 443.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.2678, allocations: 204.1 kB / 443.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.268, allocations: 20 kB / 443.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/0.2698, allocations: 287.7 kB / 443.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/0.2702, allocations: 167.8 kB / 443.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004405/0.2746, allocations: 2.285 MB / 446.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003758/0.2784, allocations: 2.675 MB / 448.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00121/0.2796, allocations: 0.7223 MB / 449.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.2803, allocations: 0.6786 MB / 450.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.2803, allocations: 3.938 kB / 450.2 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.2826, allocations: 1.339 MB / 451.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of SimCode: time 0.002085/0.2847, allocations: 1.916 MB / 453.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of Templates: time 0.02916/0.3139, allocations: 20.85 MB / 474.3 MB, free: 14.99 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Friction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches