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.001229/0.001229, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001292/0.001292, allocations: 191 kB / 19.29 MB, free: 3.848 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.383/1.383, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001143/0.001143, allocations: 44.22 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.0808, allocations: 46.64 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004379/0.08522, allocations: 3.508 MB / 332.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.0867, allocations: 0.9082 MB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.08688, allocations: 19.88 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.08711, allocations: 83.16 kB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.08735, allocations: 138.7 kB / 333.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.08774, allocations: 163.6 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.08828, allocations: 0.5997 MB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.08858, allocations: 177.5 kB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.08884, allocations: 247.1 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.08913, allocations: 266.9 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.08921, allocations: 52 kB / 334.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.08929, allocations: 56 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.935e-05/0.08939, allocations: 119.6 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.08962, allocations: 274.7 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.09013, allocations: 0.5955 MB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.09014, allocations: 3.984 kB / 335.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09015, allocations: 0 / 335.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.09016, allocations: 0 / 335.9 MB, free: 12.53 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.001518/0.09169, allocations: 0.842 MB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.09173, allocations: 8.031 kB / 336.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.09182, allocations: 56.28 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.09228, allocations: 331.2 kB / 337.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.09233, allocations: 33.38 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.09241, allocations: 52.36 kB / 337.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.09326, allocations: 462.7 kB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.09329, allocations: 0 / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.09333, allocations: 16 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.09335, allocations: 12 kB / 337.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.09433, allocations: 459.7 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.09651, allocations: 1.378 MB / 339.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009126/0.09744, allocations: 0.5362 MB / 340.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.09819, allocations: 370.9 kB / 340.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.09825, allocations: 12.55 kB / 340.4 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.09828, allocations: 47.12 kB / 340.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.853e-06/0.09829, allocations: 3.938 kB / 340.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.006927/0.1052, allocations: 3.127 MB / 343.6 MB, free: 4.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1053, allocations: 64.41 kB / 343.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1055, allocations: 250.9 kB / 343.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.1056, allocations: 45.7 kB / 344 MB, free: 4.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1057, allocations: 197.3 kB / 344.2 MB, free: 3.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.1059, allocations: 350.8 kB / 344.5 MB, free: 3.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1061, allocations: 142.7 kB / 344.6 MB, free: 3.484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1063, allocations: 362.8 kB / 345 MB, free: 3.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.1068, allocations: 273.8 kB / 345.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.1075, allocations: 349.4 kB / 345.6 MB, free: 2.504 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.1086, allocations: 0.6234 MB / 346.2 MB, free: 1.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1086, allocations: 4 kB / 346.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001378/0.11, allocations: 0.782 MB / 347 MB, free: 1.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.11, allocations: 8 kB / 347 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1101, allocations: 7.875 kB / 347 MB, free: 1.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1101, allocations: 7.938 kB / 347 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.1109, allocations: 211.7 kB / 347.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1109, allocations: 4 kB / 347.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.1112, allocations: 47.95 kB / 347.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.1113, allocations: 28 kB / 347.3 MB, free: 0.7734 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.0002217/0.1115, allocations: 189.7 kB / 347.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.1116, allocations: 55.34 kB / 347.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1118, allocations: 81.33 kB / 347.6 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1118, allocations: 8 kB / 347.6 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1118, allocations: 4 kB / 347.6 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.1118, allocations: 7.969 kB / 347.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.1147, allocations: 1.968 MB / 349.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1147, allocations: 4 kB / 349.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/0.1155, allocations: 204.3 kB / 349.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.1156, allocations: 16 kB / 349.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.1156, allocations: 27.92 kB / 349.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/0.1156, allocations: 8 kB / 349.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.1156, allocations: 11.94 kB / 349.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.1177, allocations: 1.372 MB / 351.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1179, allocations: 128.4 kB / 351.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.1179, allocations: 32 kB / 351.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.1183, allocations: 43.97 kB / 351.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1184, allocations: 76.78 kB / 351.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.1185, allocations: 31.98 kB / 351.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1187, allocations: 178 kB / 351.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1187, allocations: 0 / 351.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.1192, allocations: 156 kB / 351.9 MB, free: 11.98 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.0001408/0.1193, allocations: 131 kB / 352 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.1206, allocations: 0.7425 MB / 352.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1207, allocations: 3.938 kB / 352.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.1214, allocations: 442.6 kB / 353.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.1221, allocations: 126.8 kB / 353.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1244, allocations: 1.516 MB / 354.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1248, allocations: 0.8723 MB / 355.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.1251, allocations: 72.98 kB / 355.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1253, allocations: 55.42 kB / 355.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1253, allocations: 0 / 355.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Templates: time 0.01144/0.1367, allocations: 6.519 MB / 362.4 MB, free: 1.391 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches