Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 243.9 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000798/0.0007978, allocations: 88.66 kB / 295 MB, free: 9.516 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3582/0.3582, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003529, allocations: 8 kB / 463.1 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3503, allocations: 61.9 MB / 0.5127 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003396/0.3537, allocations: 3.548 MB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3558, allocations: 1.254 MB / 0.5174 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.3561, allocations: 15.81 kB / 0.5174 GB, free: 34.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.3564, allocations: 71.28 kB / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.3567, allocations: 175.2 kB / 0.5177 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.3572, allocations: 168.7 kB / 0.5178 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006496/0.3579, allocations: 0.7433 MB / 0.5186 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.3582, allocations: 204.9 kB / 0.5188 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.3586, allocations: 257.8 kB / 0.519 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3589, allocations: 303.7 kB / 0.5193 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.359, allocations: 31.69 kB / 0.5193 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.3592, allocations: 59.62 kB / 0.5194 GB, free: 33.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3593, allocations: 108.2 kB / 0.5195 GB, free: 33.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.3597, allocations: 351.1 kB / 0.5198 GB, free: 32.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.3603, allocations: 0.7117 MB / 0.5205 GB, free: 32.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3603, allocations: 0 / 0.5205 GB, free: 32.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3603, allocations: 0 / 0.5205 GB, free: 32.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3603, allocations: 0 / 0.5205 GB, free: 32.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001542/0.3619, allocations: 0.9189 MB / 0.5214 GB, free: 32.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3619, allocations: 8.688 kB / 0.5214 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.362, allocations: 76.5 kB / 0.5215 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.3625, allocations: 393.9 kB / 0.5219 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.3625, allocations: 44.81 kB / 0.5219 GB, free: 31.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.3626, allocations: 63.34 kB / 0.522 GB, free: 31.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3637, allocations: 0.6409 MB / 0.5226 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3637, allocations: 17.77 kB / 0.5226 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.3638, allocations: 21.69 kB / 0.5226 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.3638, allocations: 14.5 kB / 0.5226 GB, free: 31.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3649, allocations: 0.5641 MB / 0.5232 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.3677, allocations: 2.181 MB / 0.5253 GB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3689, allocations: 0.7185 MB / 0.526 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.3694, allocations: 361 kB / 0.5264 GB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.3695, allocations: 97.28 kB / 0.5265 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3696, allocations: 47.92 kB / 0.5265 GB, free: 29.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/0.3696, allocations: 4 kB / 0.5265 GB, free: 29.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.007051/0.3766, allocations: 4.615 MB / 0.531 GB, free: 26.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.3767, allocations: 226.4 kB / 0.5312 GB, free: 25.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.3771, allocations: 359.3 kB / 0.5316 GB, free: 25.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.3772, allocations: 48.52 kB / 0.5316 GB, free: 25.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3773, allocations: 263.5 kB / 0.5319 GB, free: 25.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3776, allocations: 405.2 kB / 0.5323 GB, free: 25.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3776, allocations: 25.59 kB / 0.5323 GB, free: 25.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3777, allocations: 378.4 kB / 0.5326 GB, free: 24.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.3783, allocations: 331.7 kB / 0.533 GB, free: 24.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.3789, allocations: 0.5204 MB / 0.5335 GB, free: 24.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3802, allocations: 0.8962 MB / 0.5343 GB, free: 23.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3802, allocations: 2.906 kB / 0.5344 GB, free: 23.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001538/0.3817, allocations: 1.028 MB / 0.5354 GB, free: 23.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3818, allocations: 13 kB / 0.5354 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3818, allocations: 6.812 kB / 0.5354 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3818, allocations: 11.36 kB / 0.5354 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.3827, allocations: 288.3 kB / 0.5357 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.3828, allocations: 18.44 kB / 0.5357 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.3832, allocations: 71.73 kB / 0.5357 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.3833, allocations: 40.27 kB / 0.5358 GB, free: 23.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0002909/0.3836, allocations: 229.4 kB / 0.536 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.3838, allocations: 74.66 kB / 0.5361 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.3842, allocations: 228.8 kB / 0.5363 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.3842, allocations: 11.94 kB / 0.5363 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.3843, allocations: 5.688 kB / 0.5363 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.3843, allocations: 10.78 kB / 0.5363 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.3874, allocations: 2.384 MB / 0.5386 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3874, allocations: 7.219 kB / 0.5387 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3884, allocations: 258.5 kB / 0.5389 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.3884, allocations: 8.844 kB / 0.5389 GB, free: 21.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.3885, allocations: 33.03 kB / 0.5389 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.3885, allocations: 9.656 kB / 0.539 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3885, allocations: 7.156 kB / 0.539 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.3906, allocations: 1.945 MB / 0.5409 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.3909, allocations: 196 kB / 0.541 GB, free: 20.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.391, allocations: 28.91 kB / 0.5411 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.3915, allocations: 59.69 kB / 0.5411 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3917, allocations: 89.69 kB / 0.5412 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.3917, allocations: 35.33 kB / 0.5412 GB, free: 20.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.3919, allocations: 249.5 kB / 0.5415 GB, free: 20.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.392, allocations: 0 / 0.5415 GB, free: 20.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000778/0.3927, allocations: 196.6 kB / 0.5417 GB, free: 20.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0001592/0.3929, allocations: 139.9 kB / 0.5418 GB, free: 19.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3945, allocations: 0.8745 MB / 0.5427 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3945, allocations: 0 / 0.5427 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.3953, allocations: 0.5003 MB / 0.5431 GB, free: 19.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3966, allocations: 123.4 kB / 0.5433 GB, free: 19.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.4, allocations: 2.724 MB / 0.5459 GB, free: 17.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.4004, allocations: 0.9439 MB / 0.5468 GB, free: 16.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004476/0.4009, allocations: 104.5 kB / 0.5469 GB, free: 16.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.4011, allocations: 68.08 kB / 0.547 GB, free: 16.86 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4011, allocations: 1.188 kB / 0.547 GB, free: 16.86 MB / 378.7 MB Notification: Performance of Templates: time 0.0169/0.418, allocations: 6.659 MB / 0.5535 GB, free: 16.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches