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.001554/0.001554, allocations: 111.9 kB / 17.68 MB, free: 5.332 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.001717/0.001717, allocations: 192 kB / 18.62 MB, free: 4.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.318/1.318, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 54.58 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08846, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004205/0.0927, allocations: 3.535 MB / 355 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.09407, allocations: 0.8723 MB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.09425, allocations: 11.94 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.09445, allocations: 79.22 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.09469, allocations: 142.6 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.09508, allocations: 163.7 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.09561, allocations: 0.5957 MB / 356.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.0959, allocations: 189.5 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.09616, allocations: 235.2 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.09644, allocations: 274.9 kB / 357.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.09652, allocations: 52 kB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.0966, allocations: 52 kB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.0967, allocations: 119.6 kB / 357.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.09693, allocations: 270.7 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.0974, allocations: 0.5955 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09741, allocations: 3.938 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.09742, allocations: 4 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.09743, allocations: 0 / 358.6 MB, free: 12.5 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.001439/0.09887, allocations: 0.8342 MB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.09892, allocations: 12.03 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.09902, allocations: 60.22 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.09944, allocations: 331.2 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.09949, allocations: 33.38 kB / 359.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.09957, allocations: 52.38 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008252/0.1004, allocations: 454.6 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1004, allocations: 7.906 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.1005, allocations: 20 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1005, allocations: 12 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000963/0.1015, allocations: 459.7 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.1036, allocations: 1.374 MB / 362.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/0.1045, allocations: 0.5479 MB / 362.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007345/0.1053, allocations: 371.8 kB / 363.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.1054, allocations: 20.53 kB / 363.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1054, allocations: 35.12 kB / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 1.843e-06/0.1054, allocations: 0 / 363.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.006601/0.112, allocations: 3.134 MB / 366.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1121, allocations: 64.39 kB / 366.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1123, allocations: 247 kB / 366.7 MB, free: 4.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.1123, allocations: 41.7 kB / 366.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1125, allocations: 209.2 kB / 366.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.1127, allocations: 350.8 kB / 367.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1129, allocations: 142.7 kB / 367.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.113, allocations: 358.8 kB / 367.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.1136, allocations: 273.8 kB / 368 MB, free: 2.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.1142, allocations: 353.4 kB / 368.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.1153, allocations: 0.6234 MB / 369 MB, free: 1.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1153, allocations: 0 / 369 MB, free: 1.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001329/0.1166, allocations: 0.782 MB / 369.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1166, allocations: 4 kB / 369.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1167, allocations: 0 / 369.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.1167, allocations: 15.92 kB / 369.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.1175, allocations: 203.7 kB / 370 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1175, allocations: 7.938 kB / 370 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.1178, allocations: 47.97 kB / 370 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.1179, allocations: 31.98 kB / 370.1 MB, free: 0.7344 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.0002047/0.1181, allocations: 197.6 kB / 370.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.1182, allocations: 51.42 kB / 370.3 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.1183, allocations: 77.33 kB / 370.4 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1183, allocations: 12 kB / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1183, allocations: 0 / 370.4 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.1184, allocations: 7.984 kB / 370.4 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1527/0.271, allocations: 1.968 MB / 372.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.2711, allocations: 5.344 kB / 372.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.2719, allocations: 204.2 kB / 372.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.2719, allocations: 9.219 kB / 372.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.272, allocations: 25.27 kB / 372.6 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.272, allocations: 15.52 kB / 372.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.272, allocations: 5.812 kB / 372.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2739, allocations: 1.379 MB / 374 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.274, allocations: 128.4 kB / 374.1 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.2741, allocations: 23.03 kB / 374.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.2745, allocations: 47.59 kB / 374.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2746, allocations: 77.48 kB / 374.3 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.2746, allocations: 37.75 kB / 374.3 MB, free: 24.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.2748, allocations: 174.1 kB / 374.5 MB, free: 24.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2748, allocations: 0 / 374.5 MB, free: 24.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.2753, allocations: 155.4 kB / 374.6 MB, free: 24.54 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.0001195/0.2754, allocations: 133.9 kB / 374.8 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2766, allocations: 0.7344 MB / 375.5 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2766, allocations: 1.375 kB / 375.5 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.2773, allocations: 446.5 kB / 375.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.278, allocations: 129.9 kB / 376.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.28, allocations: 1.517 MB / 377.6 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2803, allocations: 0.8639 MB / 378.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.2806, allocations: 80.08 kB / 378.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.2808, allocations: 59.42 kB / 378.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2808, allocations: 0 / 378.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01134/0.2922, allocations: 6.513 MB / 385.1 MB, free: 20.89 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 -s gbode -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