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.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 178.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.406/1.406, 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.000831/0.0008312, allocations: 78.44 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002855, allocations: 12 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2505, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002849/0.2534, allocations: 2.177 MB / 378.8 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.2544, allocations: 367 kB / 379.1 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.2547, allocations: 5.125 kB / 379.1 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.255, allocations: 36.7 kB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.2553, allocations: 82.52 kB / 379.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.2557, allocations: 78.03 kB / 379.3 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.2563, allocations: 360.1 kB / 379.7 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2565, allocations: 94.47 kB / 379.8 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.2567, allocations: 129.5 kB / 379.9 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.2569, allocations: 152 kB / 380.1 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.257, allocations: 15.84 kB / 380.1 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.257, allocations: 16.09 kB / 380.1 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.2571, allocations: 52.67 kB / 380.1 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.2573, allocations: 181.5 kB / 380.3 MB, free: 42.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2576, allocations: 334.8 kB / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2576, allocations: 0 / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2576, allocations: 0 / 380.6 MB, free: 42.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2576, allocations: 0 / 380.6 MB, free: 42.54 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009244/0.2585, allocations: 0.5974 MB / 381.2 MB, free: 42.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2586, allocations: 10.09 kB / 381.2 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.2586, allocations: 38.25 kB / 381.3 MB, free: 41.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.2589, allocations: 268 kB / 381.5 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.2589, allocations: 21.28 kB / 381.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.259, allocations: 38.89 kB / 381.6 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.2596, allocations: 283.4 kB / 381.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2596, allocations: 1.5 kB / 381.9 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.2596, allocations: 13.38 kB / 381.9 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2597, allocations: 7.75 kB / 381.9 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.2602, allocations: 283.7 kB / 382.2 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2614, allocations: 0.7928 MB / 383 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.262, allocations: 370.9 kB / 383.3 MB, free: 40.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.2623, allocations: 204.1 kB / 383.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.2624, allocations: 8.188 kB / 383.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2624, allocations: 36.66 kB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.533e-06/0.2624, allocations: 0 / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.003927/0.2663, allocations: 2.03 MB / 385.6 MB, free: 39.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.2664, allocations: 63 kB / 385.7 MB, free: 39.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.2666, allocations: 201.5 kB / 385.9 MB, free: 38.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2666, allocations: 36.52 kB / 385.9 MB, free: 38.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.2667, allocations: 150.7 kB / 386 MB, free: 38.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.2668, allocations: 212.8 kB / 386.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.2668, allocations: 12 kB / 386.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.2669, allocations: 346.7 kB / 386.6 MB, free: 38.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.2671, allocations: 173 kB / 386.8 MB, free: 38.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.2674, allocations: 173 kB / 386.9 MB, free: 37.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.268, allocations: 384 kB / 387.3 MB, free: 37.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.268, allocations: 0 / 387.3 MB, free: 37.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006634/0.2686, allocations: 0.4909 MB / 387.8 MB, free: 36.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2687, allocations: 6.812 kB / 387.8 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2687, allocations: 0 / 387.8 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2687, allocations: 4 kB / 387.8 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.2691, allocations: 127.8 kB / 387.9 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2692, allocations: 7.938 kB / 388 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2693, allocations: 27.98 kB / 388 MB, free: 36.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.2694, allocations: 23.88 kB / 388 MB, free: 36.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001207/0.2695, allocations: 165.7 kB / 388.2 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2696, allocations: 39.53 kB / 388.2 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.513e-05/0.2697, allocations: 43.34 kB / 388.2 MB, free: 36.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2697, allocations: 8 kB / 388.3 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2697, allocations: 0 / 388.3 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2697, allocations: 3.984 kB / 388.3 MB, free: 36.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2712, allocations: 1.329 MB / 389.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2712, allocations: 4 kB / 389.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.2717, allocations: 140.3 kB / 389.7 MB, free: 34.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2717, allocations: 11.94 kB / 389.7 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2717, allocations: 20 kB / 389.8 MB, free: 34.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2717, allocations: 4 kB / 389.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2717, allocations: 11.94 kB / 389.8 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2728, allocations: 0.898 MB / 390.7 MB, free: 33.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.2729, allocations: 108.7 kB / 390.8 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.2729, allocations: 24.03 kB / 390.8 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2732, allocations: 31.98 kB / 390.8 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.2732, allocations: 47.83 kB / 390.9 MB, free: 33.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2733, allocations: 27.98 kB / 390.9 MB, free: 33.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.2733, allocations: 136.6 kB / 391 MB, free: 33.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2734, allocations: 0 / 391 MB, free: 33.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.2737, allocations: 96 kB / 391.1 MB, free: 33.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001138/0.2738, allocations: 128.1 kB / 391.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006598/0.2745, allocations: 446.7 kB / 391.7 MB, free: 32.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2745, allocations: 0 / 391.7 MB, free: 32.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.2748, allocations: 264.5 kB / 392 MB, free: 32.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.2755, allocations: 84.39 kB / 392 MB, free: 32.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2769, allocations: 1.252 MB / 393.3 MB, free: 31.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2772, allocations: 0.7896 MB / 394.1 MB, free: 30.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.2774, allocations: 43.27 kB / 394.1 MB, free: 30.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.2775, allocations: 39.42 kB / 394.2 MB, free: 30.3 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2775, allocations: 0 / 394.2 MB, free: 30.3 MB / 298.7 MB Notification: Performance of Templates: time 0.006436/0.2839, allocations: 3.808 MB / 398 MB, free: 26.5 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches