Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009046, allocations: 96.92 kB / 17.35 MB, free: 6.367 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.0009874/0.0009875, allocations: 173.2 kB / 18.25 MB, free: 5.523 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.4/1.4, allocations: 223.3 MB / 242.3 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8.5 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.92 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00484/0.1401, allocations: 3.722 MB / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1424, allocations: 1.055 MB / 477 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1427, allocations: 15.94 kB / 477 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1429, allocations: 71.39 kB / 477.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.1433, allocations: 170.6 kB / 477.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.1438, allocations: 167.8 kB / 477.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.1446, allocations: 0.7471 MB / 478.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.1449, allocations: 210.6 kB / 478.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.1453, allocations: 258.9 kB / 478.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.1457, allocations: 306.5 kB / 478.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.1458, allocations: 32 kB / 479 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.1459, allocations: 59.92 kB / 479 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1461, allocations: 111.5 kB / 479.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1464, allocations: 343.9 kB / 479.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.1471, allocations: 0.7123 MB / 480.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1471, allocations: 0 / 480.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1471, allocations: 0 / 480.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1471, allocations: 0 / 480.2 MB, free: 5.379 MB / 350.1 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.001802/0.1489, allocations: 0.918 MB / 481.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.149, allocations: 8.031 kB / 481.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1491, allocations: 80 kB / 481.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.1497, allocations: 393.8 kB / 481.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1499, allocations: 41.69 kB / 481.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.15, allocations: 72.17 kB / 481.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1512, allocations: 0.6463 MB / 482.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.1513, allocations: 11.91 kB / 482.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.1513, allocations: 20 kB / 482.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1514, allocations: 16 kB / 482.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1526, allocations: 0.5684 MB / 482.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.1557, allocations: 2.18 MB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.157, allocations: 0.715 MB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.1577, allocations: 363.1 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1579, allocations: 93.84 kB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1579, allocations: 54.92 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.1579, allocations: 4 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008503/0.1664, allocations: 4.623 MB / 491 MB, free: 9.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1666, allocations: 226.1 kB / 491.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.167, allocations: 362 kB / 491.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.167, allocations: 45.7 kB / 491.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1672, allocations: 265.3 kB / 491.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.1675, allocations: 406 kB / 492.2 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1676, allocations: 89.67 kB / 492.3 MB, free: 8.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1678, allocations: 382.8 kB / 492.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.1686, allocations: 346.3 kB / 493 MB, free: 7.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008058/0.1694, allocations: 0.5239 MB / 493.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.171, allocations: 0.9075 MB / 494.5 MB, free: 6.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.171, allocations: 4 kB / 494.5 MB, free: 6.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001945/0.1729, allocations: 1.035 MB / 495.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.173, allocations: 12.38 kB / 495.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.173, allocations: 8 kB / 495.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.173, allocations: 12 kB / 495.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.1741, allocations: 291.6 kB / 495.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.1741, allocations: 11.94 kB / 495.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.1747, allocations: 67.97 kB / 495.9 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.1747, allocations: 43.98 kB / 495.9 MB, free: 4.68 MB / 366.1 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.0003669/0.1751, allocations: 233.5 kB / 496.2 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.1753, allocations: 75.23 kB / 496.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.1759, allocations: 230.8 kB / 496.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.1759, allocations: 12 kB / 496.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.1759, allocations: 4 kB / 496.5 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.1759, allocations: 3.984 kB / 496.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.1797, allocations: 2.391 MB / 498.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.1797, allocations: 8.062 kB / 498.9 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.1808, allocations: 255.7 kB / 499.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.1808, allocations: 8 kB / 499.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.1809, allocations: 31.92 kB / 499.2 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.1809, allocations: 8 kB / 499.2 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.1809, allocations: 7.938 kB / 499.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.1835, allocations: 1.955 MB / 0.4894 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.1838, allocations: 204.3 kB / 0.4896 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.1839, allocations: 23.94 kB / 0.4896 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.1845, allocations: 59.95 kB / 0.4897 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.1847, allocations: 88.39 kB / 0.4898 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.1847, allocations: 36 kB / 0.4898 GB, free: 14.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.185, allocations: 251.1 kB / 0.49 GB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1851, allocations: 0 / 0.49 GB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008933/0.186, allocations: 200 kB / 0.4902 GB, free: 14.45 MB / 382.1 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.0002277/0.1862, allocations: 131 kB / 0.4904 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.188, allocations: 0.8805 MB / 0.4912 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.188, allocations: 4 kB / 0.4912 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.189, allocations: 0.5004 MB / 0.4917 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.1904, allocations: 124.4 kB / 0.4918 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.1946, allocations: 2.733 MB / 0.4945 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.1953, allocations: 0.9481 MB / 0.4954 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.1958, allocations: 101.8 kB / 0.4955 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.196, allocations: 59.42 kB / 0.4956 GB, free: 8.871 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.196, allocations: 0 / 0.4956 GB, free: 8.871 MB / 382.1 MB Notification: Performance of Templates: time 0.01396/0.21, allocations: 6.679 MB / 0.5021 GB, free: 2.246 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches