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.0011/0.0011, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001014/0.001014, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 45.59 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1105, allocations: 49.44 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004897/0.1155, allocations: 3.546 MB / 354.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1169, allocations: 0.8685 MB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1171, allocations: 15.94 kB / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1173, allocations: 83.16 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.1176, allocations: 142.5 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.118, allocations: 151.7 kB / 355.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005803/0.1186, allocations: 0.5919 MB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.1189, allocations: 185.5 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1192, allocations: 239.2 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.1195, allocations: 282.9 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.1196, allocations: 48 kB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.1197, allocations: 56 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1198, allocations: 111.6 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.12, allocations: 278.6 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.1206, allocations: 0.5919 MB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1206, allocations: 0 / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1206, allocations: 0 / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1206, allocations: 0 / 357.9 MB, free: 13.24 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.00157/0.1222, allocations: 0.8381 MB / 358.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1222, allocations: 8.031 kB / 358.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.1223, allocations: 60.27 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.1227, allocations: 331.2 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.1227, allocations: 33.38 kB / 359.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.1228, allocations: 52.36 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.1237, allocations: 454.7 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.1238, allocations: 7.906 kB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.1238, allocations: 20 kB / 359.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1238, allocations: 12 kB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.1248, allocations: 455.7 kB / 360.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.1271, allocations: 1.386 MB / 361.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.1281, allocations: 0.5363 MB / 362 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.1289, allocations: 383.7 kB / 362.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.1289, allocations: 12.5 kB / 362.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.129, allocations: 43.12 kB / 362.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/0.129, allocations: 0 / 362.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.00731/0.1363, allocations: 3.136 MB / 365.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1364, allocations: 68.41 kB / 365.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1366, allocations: 247 kB / 365.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.1367, allocations: 41.7 kB / 365.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1368, allocations: 201.2 kB / 366.1 MB, free: 4.668 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.1371, allocations: 346.8 kB / 366.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.1372, allocations: 146.7 kB / 366.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1374, allocations: 362.8 kB / 367 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.138, allocations: 273.8 kB / 367.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.1386, allocations: 349.4 kB / 367.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.1398, allocations: 0.6234 MB / 368.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1398, allocations: 0 / 368.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00149/0.1413, allocations: 0.7819 MB / 369 MB, free: 1.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1413, allocations: 8 kB / 369 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1413, allocations: 4.062 kB / 369 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1414, allocations: 7.938 kB / 369 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.1422, allocations: 203.7 kB / 369.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.1422, allocations: 8 kB / 369.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.1426, allocations: 55.89 kB / 369.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.1426, allocations: 28 kB / 369.3 MB, free: 1.465 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.0002288/0.1428, allocations: 193.7 kB / 369.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.1429, allocations: 51.44 kB / 369.5 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.1431, allocations: 77.33 kB / 369.6 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1431, allocations: 8 kB / 369.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1432, allocations: 0 / 369.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.1432, allocations: 7.969 kB / 369.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2019/0.3451, allocations: 1.995 MB / 371.6 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3452, allocations: 4.375 kB / 371.6 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.3461, allocations: 203.6 kB / 371.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.233e-05/0.3461, allocations: 10.02 kB / 371.8 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.3462, allocations: 27.06 kB / 371.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.3462, allocations: 10.39 kB / 371.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.3462, allocations: 10.94 kB / 371.9 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.3487, allocations: 1.379 MB / 373.3 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3489, allocations: 122.9 kB / 373.4 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.349, allocations: 30.77 kB / 373.4 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.3494, allocations: 45.19 kB / 373.5 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3495, allocations: 74.89 kB / 373.5 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.3496, allocations: 34.45 kB / 373.6 MB, free: 24.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3498, allocations: 178.4 kB / 373.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3498, allocations: 0 / 373.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.3504, allocations: 151.1 kB / 373.9 MB, free: 24.72 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.0001974/0.3506, allocations: 131 kB / 374 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.3526, allocations: 0.7721 MB / 374.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3526, allocations: 0 / 374.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.3534, allocations: 453.3 kB / 375.2 MB, free: 24.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.3542, allocations: 117.7 kB / 375.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3568, allocations: 1.566 MB / 376.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3573, allocations: 0.8683 MB / 377.8 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3575, allocations: 67.62 kB / 377.8 MB, free: 22.49 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3575, allocations: 4 kB / 377.9 MB, free: 22.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01346/0.371, allocations: 7.262 MB / 385.1 MB, free: 20.45 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