Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 177.5 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008263/0.0008261, allocations: 98.34 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002626, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00351/0.2581, allocations: 3.019 MB / 379.6 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.26, allocations: 0.8707 MB / 380.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.2605, allocations: 11.59 kB / 380.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.2608, allocations: 58.81 kB / 380.6 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.2614, allocations: 123.1 kB / 380.7 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2619, allocations: 130.2 kB / 380.8 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.2628, allocations: 0.5797 MB / 381.4 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2632, allocations: 153.6 kB / 381.5 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.2637, allocations: 206.2 kB / 381.7 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.2642, allocations: 247.6 kB / 382 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.2644, allocations: 30.28 kB / 382 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2646, allocations: 27.03 kB / 382 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2647, allocations: 91.78 kB / 382.1 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.2651, allocations: 265.6 kB / 382.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.2658, allocations: 0.551 MB / 382.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2658, allocations: 0 / 382.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2659, allocations: 3.938 kB / 382.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.2659, allocations: 1.531 kB / 382.9 MB, free: 40.84 MB / 298.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.001801/0.2677, allocations: 0.7928 MB / 383.7 MB, free: 40.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2678, allocations: 9.969 kB / 383.7 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2679, allocations: 59.61 kB / 383.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.2684, allocations: 322.1 kB / 384.1 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.2684, allocations: 35.22 kB / 384.1 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.2685, allocations: 55.39 kB / 384.2 MB, free: 39.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.2695, allocations: 469.5 kB / 384.7 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2695, allocations: 5.219 kB / 384.7 MB, free: 39.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.2696, allocations: 19.94 kB / 384.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.2696, allocations: 10.84 kB / 384.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2707, allocations: 493.1 kB / 385.2 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.2733, allocations: 1.409 MB / 386.6 MB, free: 38.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.2742, allocations: 0.5464 MB / 387.1 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006683/0.2749, allocations: 394.8 kB / 387.5 MB, free: 37.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.275, allocations: 12.55 kB / 387.5 MB, free: 37.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.275, allocations: 43.12 kB / 387.6 MB, free: 37.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.966e-06/0.275, allocations: 3.984 kB / 387.6 MB, free: 37.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006506/0.2815, allocations: 3.279 MB / 390.9 MB, free: 33.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2816, allocations: 64.41 kB / 390.9 MB, free: 33.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.2818, allocations: 247 kB / 391.2 MB, free: 33.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.2818, allocations: 41.7 kB / 391.2 MB, free: 33.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.2819, allocations: 205.2 kB / 391.4 MB, free: 33.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.2821, allocations: 354.8 kB / 391.7 MB, free: 33.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.2822, allocations: 19.94 kB / 391.8 MB, free: 33.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.2823, allocations: 362.8 kB / 392.1 MB, free: 32.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.2828, allocations: 293.8 kB / 392.4 MB, free: 32.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.2834, allocations: 361.4 kB / 392.8 MB, free: 32.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.2844, allocations: 0.6508 MB / 393.4 MB, free: 31.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2844, allocations: 0 / 393.4 MB, free: 31.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001299/0.2857, allocations: 0.8132 MB / 394.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2857, allocations: 4 kB / 394.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2858, allocations: 4 kB / 394.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2858, allocations: 15.88 kB / 394.2 MB, free: 30.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.2865, allocations: 215.8 kB / 394.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.2866, allocations: 4 kB / 394.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2869, allocations: 67.95 kB / 394.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.287, allocations: 24 kB / 394.6 MB, free: 30.21 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.2872, allocations: 193.7 kB / 394.7 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.2873, allocations: 55.42 kB / 394.8 MB, free: 29.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.2874, allocations: 77.28 kB / 394.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2874, allocations: 8 kB / 394.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.2875, allocations: 3.984 kB / 394.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2875, allocations: 3.984 kB / 394.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.2902, allocations: 2.025 MB / 396.9 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.2902, allocations: 4 kB / 396.9 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.291, allocations: 220.3 kB / 397.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.291, allocations: 8 kB / 397.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.2911, allocations: 31.92 kB / 397.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.2911, allocations: 11.94 kB / 397.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.2911, allocations: 7.984 kB / 397.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.293, allocations: 1.423 MB / 398.6 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.2931, allocations: 128.6 kB / 398.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.2932, allocations: 23.94 kB / 398.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.2935, allocations: 67.89 kB / 398.8 MB, free: 25.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.2937, allocations: 76.8 kB / 398.9 MB, free: 25.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.2937, allocations: 31.98 kB / 398.9 MB, free: 25.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2939, allocations: 178 kB / 399.1 MB, free: 25.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2939, allocations: 0 / 399.1 MB, free: 25.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.2943, allocations: 156 kB / 399.3 MB, free: 25.29 MB / 298.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 (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.0001471/0.2945, allocations: 135 kB / 399.4 MB, free: 25.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2957, allocations: 0.7543 MB / 400.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2957, allocations: 0 / 400.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.2964, allocations: 466.6 kB / 400.6 MB, free: 23.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.2972, allocations: 112.8 kB / 400.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.2995, allocations: 1.895 MB / 402.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2998, allocations: 0.8648 MB / 403.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.3001, allocations: 80.97 kB / 403.6 MB, free: 20.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3002, allocations: 55.42 kB / 403.6 MB, free: 20.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3003, allocations: 0 / 403.6 MB, free: 20.82 MB / 298.7 MB Notification: Performance of Templates: time 0.01039/0.3106, allocations: 5.993 MB / 409.6 MB, free: 14.84 MB / 298.7 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