Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001551/0.001551, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.681/1.681, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2318/0.2318, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.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.001522/0.001522, allocations: 65 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1349, allocations: 57.79 MB / 441.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004842/0.1398, allocations: 4.088 MB / 446 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1418, allocations: 1.114 MB / 447.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.1421, allocations: 19.88 kB / 447.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1423, allocations: 98.95 kB / 447.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.1427, allocations: 202.2 kB / 447.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1432, allocations: 187.6 kB / 447.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.144, allocations: 0.7784 MB / 448.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.1444, allocations: 243.4 kB / 448.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.1448, allocations: 302.9 kB / 449 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.1452, allocations: 338.5 kB / 449.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.1452, allocations: 60 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.1454, allocations: 87.92 kB / 449.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1456, allocations: 147.4 kB / 449.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.146, allocations: 354.2 kB / 449.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.1467, allocations: 0.7551 MB / 450.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1468, allocations: 4 kB / 450.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1468, allocations: 0 / 450.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1468, allocations: 0 / 450.7 MB, free: 13.36 MB / 334.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.001903/0.1487, allocations: 0.9976 MB / 451.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1488, allocations: 15.89 kB / 451.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1489, allocations: 76 kB / 451.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.1494, allocations: 401.8 kB / 452.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.1495, allocations: 45.62 kB / 452.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1496, allocations: 72.19 kB / 452.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1507, allocations: 0.6191 MB / 452.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.1508, allocations: 11.84 kB / 452.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.1509, allocations: 28 kB / 452.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.1509, allocations: 15.98 kB / 453 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.152, allocations: 0.5294 MB / 453.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.1553, allocations: 2.145 MB / 455.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.1566, allocations: 0.6889 MB / 456.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.1572, allocations: 347.1 kB / 456.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.1574, allocations: 101.8 kB / 456.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.1575, allocations: 58.83 kB / 456.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.474e-06/0.1575, allocations: 0 / 456.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009011/0.1665, allocations: 4.489 MB / 461.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.1667, allocations: 226.2 kB / 461.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.1672, allocations: 362 kB / 461.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.1673, allocations: 45.7 kB / 461.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.1676, allocations: 270.3 kB / 462.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.168, allocations: 406 kB / 462.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.1682, allocations: 182.9 kB / 462.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.1685, allocations: 382.8 kB / 463.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.1691, allocations: 318.5 kB / 463.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.1699, allocations: 0.5082 MB / 464 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.1713, allocations: 0.8698 MB / 464.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.1713, allocations: 4 kB / 464.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001877/0.1732, allocations: 1.011 MB / 465.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.1732, allocations: 7.938 kB / 465.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1733, allocations: 8.438 kB / 465.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.1733, allocations: 12 kB / 465.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.1744, allocations: 279.6 kB / 466.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.1744, allocations: 15.98 kB / 466.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.1749, allocations: 47.97 kB / 466.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.1751, allocations: 40 kB / 466.2 MB, free: 12.88 MB / 350.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.0003825/0.1754, allocations: 237.5 kB / 466.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.1757, allocations: 79.08 kB / 466.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.1763, allocations: 218.8 kB / 466.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.1763, allocations: 12 kB / 466.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.1763, allocations: 4 kB / 466.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.1764, allocations: 7.969 kB / 466.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.1802, allocations: 2.328 MB / 469.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.1802, allocations: 4.281 kB / 469.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.1813, allocations: 259.9 kB / 469.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.1813, allocations: 8 kB / 469.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.1814, allocations: 35.86 kB / 469.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.1814, allocations: 7.938 kB / 469.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1814, allocations: 8 kB / 469.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.1839, allocations: 1.897 MB / 471.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.1842, allocations: 196.2 kB / 471.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.1843, allocations: 35.94 kB / 471.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.1849, allocations: 43.97 kB / 471.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.1851, allocations: 88.33 kB / 471.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.1852, allocations: 35.98 kB / 471.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.1854, allocations: 251.2 kB / 472 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1855, allocations: 0 / 472 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.1863, allocations: 192 kB / 472.1 MB, free: 6.785 MB / 350.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.0001955/0.1865, allocations: 139 kB / 472.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.1882, allocations: 0.8473 MB / 473.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1882, allocations: 0 / 473.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008401/0.1891, allocations: 494.7 kB / 473.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.1903, allocations: 144.7 kB / 473.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.194, allocations: 2.184 MB / 475.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.1946, allocations: 0.9439 MB / 476.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.195, allocations: 101.8 kB / 477 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.1952, allocations: 59.42 kB / 477 MB, free: 1.781 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1952, allocations: 0 / 477 MB, free: 1.781 MB / 350.1 MB Notification: Performance of Templates: time 0.01461/0.2098, allocations: 7.268 MB / 484.3 MB, free: 10.56 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches