Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003749/0.003756, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.808/4.808, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00208/0.00208, allocations: 90.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005955/0.0005956, allocations: 8 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1787, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.007205/0.186, allocations: 2.825 MB / 377.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1896, allocations: 0.905 MB / 378.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.1904, allocations: 11.94 kB / 378.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1908, allocations: 51.58 kB / 378.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1919, allocations: 175.5 kB / 378.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.193, allocations: 103.9 kB / 378.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1946, allocations: 411.7 kB / 379 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.1952, allocations: 150 kB / 379.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.196, allocations: 203.2 kB / 379.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006853/0.1968, allocations: 239 kB / 379.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.197, allocations: 24 kB / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1972, allocations: 32 kB / 379.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1974, allocations: 87.67 kB / 379.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1976, allocations: 109.5 kB / 379.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1987, allocations: 435 kB / 380.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1988, allocations: 0 / 380.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1988, allocations: 0 / 380.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.1988, allocations: 0 / 380.3 MB, free: 9.672 MB / 282.7 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.003697/0.2025, allocations: 0.7991 MB / 381.1 MB, free: 8.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.2026, allocations: 8.031 kB / 381.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.203, allocations: 55.34 kB / 381.1 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.2039, allocations: 318.1 kB / 381.4 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.204, allocations: 37 kB / 381.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.2042, allocations: 55.89 kB / 381.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.2067, allocations: 458.4 kB / 382 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.2068, allocations: 4 kB / 382 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.2069, allocations: 27.94 kB / 382 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.207, allocations: 12 kB / 382 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.21, allocations: 487.7 kB / 382.5 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006436/0.2165, allocations: 1.39 MB / 383.9 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/0.2193, allocations: 0.5643 MB / 384.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.2195, allocations: 8.516 kB / 384.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.141e-05/0.2196, allocations: 43.12 kB / 384.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 6.131e-06/0.2196, allocations: 3.938 kB / 384.5 MB, free: 5.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.02173/0.2413, allocations: 3.274 MB / 387.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.2415, allocations: 60.41 kB / 387.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.2421, allocations: 247 kB / 388.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.2424, allocations: 41.64 kB / 388.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.2427, allocations: 259.6 kB / 388.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.2433, allocations: 354.8 kB / 388.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.2435, allocations: 16 kB / 388.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.2437, allocations: 342.8 kB / 389.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.2455, allocations: 289.8 kB / 389.3 MB, free: 284 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3921/0.6377, allocations: 354.2 kB / 389.7 MB, free: 20.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.6399, allocations: 313 kB / 390 MB, free: 20.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.6399, allocations: 0 / 390 MB, free: 20.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004751/0.6447, allocations: 0.7888 MB / 390.8 MB, free: 20.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.6448, allocations: 9.188 kB / 390.8 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6449, allocations: 0 / 390.8 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/0.6449, allocations: 5.5 kB / 390.8 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.6474, allocations: 217.3 kB / 391 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.463e-05/0.6475, allocations: 9.109 kB / 391 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6487, allocations: 59.97 kB / 391.1 MB, free: 20.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.6489, allocations: 30.81 kB / 391.1 MB, free: 20.38 MB / 282.7 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 (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 initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005947/0.6495, allocations: 193.7 kB / 391.3 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.6499, allocations: 58.58 kB / 391.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.6502, allocations: 70.08 kB / 391.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.6502, allocations: 14.25 kB / 391.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.6503, allocations: 0.6562 kB / 391.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.6503, allocations: 8.594 kB / 391.4 MB, free: 20.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009105/0.6594, allocations: 2.018 MB / 393.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/0.6595, allocations: 3.781 kB / 393.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/0.6621, allocations: 207.2 kB / 393.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-05/0.6623, allocations: 13.25 kB / 393.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/0.6625, allocations: 31.56 kB / 393.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-05/0.6626, allocations: 10.33 kB / 393.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/0.6626, allocations: 9.438 kB / 393.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/0.6696, allocations: 1.634 MB / 395.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00035/0.6701, allocations: 121.3 kB / 395.5 MB, free: 18.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.6704, allocations: 25.39 kB / 395.5 MB, free: 18.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6716, allocations: 65.81 kB / 395.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.672, allocations: 75.95 kB / 395.6 MB, free: 18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.6722, allocations: 33.8 kB / 395.7 MB, free: 18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003982/0.6726, allocations: 177.2 kB / 395.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6726, allocations: 0 / 395.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00158/0.6742, allocations: 158.2 kB / 396 MB, free: 17.86 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003745/0.6747, allocations: 137.1 kB / 396.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004386/0.6791, allocations: 0.7561 MB / 396.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.6792, allocations: 0 / 396.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.6817, allocations: 464.1 kB / 397.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6835, allocations: 93.56 kB / 397.4 MB, free: 17.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.6911, allocations: 1.869 MB / 399.3 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/0.692, allocations: 0.8769 MB / 400.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/0.6927, allocations: 62.22 kB / 400.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6928, allocations: 0 / 400.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Templates: time 0.03055/0.7234, allocations: 7.008 MB / 407.3 MB, free: 13 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches