Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009743/0.0009745, allocations: 96.55 kB / 17.3 MB, free: 6.344 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.001065/0.001066, allocations: 178.6 kB / 18.21 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 16 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003521/0.1122, allocations: 3.153 MB / 332.1 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1138, allocations: 0.8967 MB / 333 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.114, allocations: 8 kB / 333 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.1141, allocations: 59.53 kB / 333.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1144, allocations: 130.9 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1147, allocations: 127.9 kB / 333.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.1152, allocations: 0.5723 MB / 333.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002744/0.1155, allocations: 158.3 kB / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.1158, allocations: 207.1 kB / 334.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.116, allocations: 242.9 kB / 334.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.1161, allocations: 28 kB / 334.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.1162, allocations: 28 kB / 334.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1163, allocations: 95.59 kB / 334.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1165, allocations: 264.4 kB / 334.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.117, allocations: 0.545 MB / 335.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.117, allocations: 4 kB / 335.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.117, allocations: 0 / 335.4 MB, free: 13.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1171, allocations: 0 / 335.4 MB, free: 13.23 MB / 286.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.001658/0.1187, allocations: 0.7953 MB / 336.2 MB, free: 12.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1188, allocations: 12.03 kB / 336.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1189, allocations: 56.28 kB / 336.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1194, allocations: 327.2 kB / 336.6 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.1194, allocations: 37.38 kB / 336.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.1195, allocations: 48.28 kB / 336.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.1204, allocations: 474.7 kB / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1205, allocations: 0 / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.1205, allocations: 23.94 kB / 337.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1205, allocations: 15.98 kB / 337.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1216, allocations: 495.7 kB / 337.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.1238, allocations: 1.398 MB / 339.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.1248, allocations: 0.5661 MB / 339.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/0.1255, allocations: 386.9 kB / 340 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1256, allocations: 8.5 kB / 340 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1256, allocations: 43.12 kB / 340.1 MB, free: 8.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.753e-06/0.1256, allocations: 0 / 340.1 MB, free: 8.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.007012/0.1326, allocations: 3.303 MB / 343.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1327, allocations: 68.34 kB / 343.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.133, allocations: 250.9 kB / 343.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.133, allocations: 49.64 kB / 343.8 MB, free: 4.633 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1331, allocations: 189.3 kB / 343.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.1334, allocations: 354.8 kB / 344.3 MB, free: 4.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.1335, allocations: 73.67 kB / 344.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1336, allocations: 362.8 kB / 344.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.1342, allocations: 289.8 kB / 345 MB, free: 3.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.1349, allocations: 369.4 kB / 345.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.1361, allocations: 0.6624 MB / 346 MB, free: 2.328 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1361, allocations: 4 kB / 346 MB, free: 2.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001445/0.1376, allocations: 0.8132 MB / 346.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1376, allocations: 8.062 kB / 346.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1376, allocations: 7.984 kB / 346.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1377, allocations: 7.938 kB / 346.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.1384, allocations: 211.8 kB / 347.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1385, allocations: 11.94 kB / 347.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.1388, allocations: 55.97 kB / 347.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.1389, allocations: 31.98 kB / 347.2 MB, free: 1.172 MB / 286.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.0002139/0.1391, allocations: 189.7 kB / 347.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.1392, allocations: 55.34 kB / 347.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.1393, allocations: 81.33 kB / 347.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1394, allocations: 8 kB / 347.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1394, allocations: 3.938 kB / 347.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1394, allocations: 3.984 kB / 347.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.1424, allocations: 2.041 MB / 349.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1424, allocations: 4 kB / 349.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.1432, allocations: 211.7 kB / 349.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.1432, allocations: 12.34 kB / 349.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.1433, allocations: 27.94 kB / 349.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.1433, allocations: 15.92 kB / 349.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1433, allocations: 8 kB / 349.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.1456, allocations: 1.434 MB / 351.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1457, allocations: 120.5 kB / 351.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1458, allocations: 24 kB / 351.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.1462, allocations: 67.95 kB / 351.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.1463, allocations: 72.78 kB / 351.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.1464, allocations: 32 kB / 351.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1466, allocations: 181.9 kB / 351.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1466, allocations: 4 kB / 351.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1471, allocations: 156 kB / 351.9 MB, free: 12.23 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.0001678/0.1473, allocations: 131 kB / 352 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1488, allocations: 0.7543 MB / 352.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1488, allocations: 8 kB / 352.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.1496, allocations: 462.6 kB / 353.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.1506, allocations: 116.5 kB / 353.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.1534, allocations: 1.899 MB / 355.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1538, allocations: 0.8687 MB / 356.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000328/0.1542, allocations: 76.97 kB / 356.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1543, allocations: 59.36 kB / 356.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1543, allocations: 0 / 356.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01129/0.1656, allocations: 5.993 MB / 362.2 MB, free: 1.762 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches