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.001268/0.001268, allocations: 107.9 kB / 18.4 MB, free: 4.695 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.001435/0.001435, allocations: 182.4 kB / 19.33 MB, free: 3.777 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.518/1.518, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001397/0.001397, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005275/0.1129, allocations: 3.517 MB / 379.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.115, allocations: 0.9159 MB / 380.2 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.1156, allocations: 4 kB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.116, allocations: 87.16 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.226/0.342, allocations: 136.8 kB / 380.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.343, allocations: 157.3 kB / 380.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000982/0.344, allocations: 0.5972 MB / 381.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.3444, allocations: 191.9 kB / 381.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.3448, allocations: 243.2 kB / 381.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.3452, allocations: 277.3 kB / 381.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.321e-05/0.3453, allocations: 50.53 kB / 382 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.3454, allocations: 51.28 kB / 382 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3455, allocations: 119.3 kB / 382.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.3458, allocations: 271 kB / 382.4 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.3468, allocations: 0.5955 MB / 383 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3468, allocations: 1.031 kB / 383 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3468, allocations: 0 / 383 MB, free: 10.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3468, allocations: 0 / 383 MB, free: 10.05 MB / 318.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.001838/0.3486, allocations: 0.8501 MB / 383.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3487, allocations: 10.22 kB / 383.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.3488, allocations: 56.84 kB / 383.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.3493, allocations: 327.2 kB / 384.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.3494, allocations: 32.28 kB / 384.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-05/0.3495, allocations: 47.73 kB / 384.3 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3505, allocations: 460.9 kB / 384.7 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3506, allocations: 10.03 kB / 384.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3506, allocations: 16.06 kB / 384.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3506, allocations: 10.88 kB / 384.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3517, allocations: 458.4 kB / 385.2 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.3541, allocations: 1.386 MB / 386.6 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.3551, allocations: 0.5429 MB / 387.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009149/0.356, allocations: 377.7 kB / 387.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/0.3561, allocations: 9.953 kB / 387.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3561, allocations: 38.14 kB / 387.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.595e-06/0.3561, allocations: 0 / 387.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007467/0.3636, allocations: 3.138 MB / 390.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3637, allocations: 66.2 kB / 390.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.364, allocations: 252.2 kB / 391 MB, free: 6.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.364, allocations: 41.89 kB / 391.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3641, allocations: 196.1 kB / 391.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.3643, allocations: 348 kB / 391.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3645, allocations: 144.8 kB / 391.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3647, allocations: 361 kB / 392.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.3652, allocations: 277.5 kB / 392.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.3658, allocations: 348.3 kB / 392.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.367, allocations: 0.6201 MB / 393.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.367, allocations: 0 / 393.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001493/0.3685, allocations: 0.7894 MB / 394.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3686, allocations: 6.141 kB / 394.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3686, allocations: 1.125 kB / 394.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.3686, allocations: 9.812 kB / 394.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.3695, allocations: 209 kB / 394.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.3695, allocations: 5.094 kB / 394.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.3699, allocations: 46.3 kB / 394.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.3699, allocations: 31.12 kB / 394.4 MB, free: 4.328 MB / 318.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.0002349/0.3702, allocations: 193.6 kB / 394.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.3703, allocations: 51.44 kB / 394.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.3704, allocations: 75.88 kB / 394.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3705, allocations: 13.75 kB / 394.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.3705, allocations: 0 / 394.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3705, allocations: 6.578 kB / 394.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.3734, allocations: 1.979 MB / 396.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.3735, allocations: 8 kB / 396.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/0.3743, allocations: 200.8 kB / 396.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.3743, allocations: 9.062 kB / 396.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.3744, allocations: 29.48 kB / 397 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.3744, allocations: 19.36 kB / 397 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3744, allocations: 6.312 kB / 397 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.3766, allocations: 1.37 MB / 398.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3768, allocations: 129.5 kB / 398.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.3769, allocations: 23.36 kB / 398.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.3773, allocations: 49.72 kB / 398.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3775, allocations: 79.7 kB / 398.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.3776, allocations: 33.78 kB / 398.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3778, allocations: 174.3 kB / 398.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3778, allocations: 0 / 398.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000574/0.3784, allocations: 155.9 kB / 399 MB, free: 1.898 MB / 318.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.0001523/0.3785, allocations: 137 kB / 399.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.38, allocations: 0.7355 MB / 399.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.38, allocations: 1.5 kB / 399.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.3808, allocations: 446.6 kB / 400.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.3816, allocations: 133.9 kB / 400.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.3843, allocations: 1.545 MB / 402 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.3848, allocations: 0.8648 MB / 402.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.3851, allocations: 71.53 kB / 402.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3851, allocations: 0 / 402.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.0142/0.3993, allocations: 7.332 MB / 410.2 MB, free: 11.75 MB / 334.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/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