Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001319/0.001319, allocations: 194.9 kB / 18.08 MB, free: 5.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.347/1.347, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 47.36 kB / 300.6 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 49.45 MB / 350 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005112/0.116, allocations: 3.562 MB / 353.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.118, allocations: 0.8763 MB / 354.5 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.1185, allocations: 8 kB / 354.5 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1189, allocations: 59.48 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.1194, allocations: 127 kB / 354.7 MB, free: 180 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.12, allocations: 127.8 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.1209, allocations: 0.5685 MB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.1213, allocations: 166.3 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.1217, allocations: 219.2 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.1222, allocations: 258.9 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1223, allocations: 32 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1224, allocations: 32 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.1225, allocations: 107.6 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.1228, allocations: 242.7 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.1232, allocations: 463 kB / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1232, allocations: 0 / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1232, allocations: 4 kB / 356.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1232, allocations: 4 kB / 356.9 MB, free: 13.98 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001616/0.1248, allocations: 0.8265 MB / 357.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1249, allocations: 12.03 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.125, allocations: 56.28 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.1254, allocations: 331.1 kB / 358.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.1254, allocations: 41.38 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.1255, allocations: 44.38 kB / 358.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008914/0.1264, allocations: 462.6 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.1265, allocations: 11.89 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.1265, allocations: 16 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1265, allocations: 12 kB / 358.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/0.1275, allocations: 459.7 kB / 359.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.1301, allocations: 1.386 MB / 360.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/0.1311, allocations: 0.5363 MB / 361 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.1319, allocations: 367.8 kB / 361.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.1319, allocations: 12.55 kB / 361.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.132, allocations: 43.06 kB / 361.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.424e-06/0.132, allocations: 0 / 361.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007273/0.1393, allocations: 3.14 MB / 364.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1393, allocations: 64.41 kB / 364.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1396, allocations: 247 kB / 364.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.1397, allocations: 41.7 kB / 364.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1398, allocations: 201.2 kB / 365.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.1401, allocations: 350.8 kB / 365.5 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1403, allocations: 142.7 kB / 365.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1405, allocations: 362.8 kB / 366 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.1411, allocations: 277.8 kB / 366.2 MB, free: 4.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.1417, allocations: 349.4 kB / 366.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1429, allocations: 0.6234 MB / 367.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1429, allocations: 0 / 367.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001462/0.1444, allocations: 0.7858 MB / 368 MB, free: 2.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1444, allocations: 7.984 kB / 368 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1444, allocations: 0 / 368 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1444, allocations: 7.938 kB / 368 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.1452, allocations: 215.8 kB / 368.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1453, allocations: 4 kB / 368.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1456, allocations: 39.97 kB / 368.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.1457, allocations: 31.98 kB / 368.3 MB, free: 2.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.1459, allocations: 193.6 kB / 368.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.146, allocations: 51.44 kB / 368.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.1462, allocations: 81.33 kB / 368.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.1462, allocations: 12 kB / 368.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.1462, allocations: 0 / 368.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.1462, allocations: 3.984 kB / 368.6 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2007/0.347, allocations: 2 MB / 370.6 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.347, allocations: 4.875 kB / 370.6 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/0.348, allocations: 205.6 kB / 370.8 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.3481, allocations: 8.406 kB / 370.8 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.3481, allocations: 30.33 kB / 370.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.3481, allocations: 11.17 kB / 370.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.3482, allocations: 7.781 kB / 370.9 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.3508, allocations: 1.366 MB / 372.2 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.351, allocations: 131.6 kB / 372.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.3511, allocations: 28.48 kB / 372.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.3515, allocations: 44.77 kB / 372.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3516, allocations: 78.77 kB / 372.5 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.3517, allocations: 32.91 kB / 372.6 MB, free: 24.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.3519, allocations: 177.9 kB / 372.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3519, allocations: 1.406 kB / 372.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006415/0.3526, allocations: 152 kB / 372.9 MB, free: 24.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.3528, allocations: 135.1 kB / 373 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.3544, allocations: 0.7267 MB / 373.7 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3544, allocations: 1.375 kB / 373.7 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.3552, allocations: 445.5 kB / 374.2 MB, free: 24.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.3562, allocations: 113.4 kB / 374.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.359, allocations: 1.815 MB / 376.1 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3594, allocations: 0.8686 MB / 377 MB, free: 22.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.3597, allocations: 62.52 kB / 377 MB, free: 22.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3597, allocations: 0 / 377 MB, free: 22.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01323/0.3729, allocations: 7.242 MB / 384.3 MB, free: 20.54 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches