Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2586/0.2586, allocations: 46.92 MB / 358.2 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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.1.0-beta.om_ModelicaTest.Translational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 87.84 kB / 0.4925 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1403, allocations: 66 MB / 0.5569 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005853/0.1461, allocations: 4.179 MB / 0.561 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1487, allocations: 1.196 MB / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.149, allocations: 19.81 kB / 0.5622 GB, free: 132 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1494, allocations: 103 kB / 0.5623 GB, free: 28 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.1499, allocations: 202.1 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.1505, allocations: 231.6 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.1514, allocations: 0.8017 MB / 0.5635 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.1518, allocations: 167.5 kB / 0.5637 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.1522, allocations: 330.8 kB / 0.564 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.1527, allocations: 354.4 kB / 0.5643 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.1528, allocations: 56 kB / 0.5644 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.153, allocations: 87.98 kB / 0.5645 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1531, allocations: 155.4 kB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.1535, allocations: 354.1 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.1545, allocations: 0.7857 MB / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1545, allocations: 0 / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1545, allocations: 0 / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.1545, allocations: 0 / 0.5657 GB, free: 12.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002042/0.1565, allocations: 1.032 MB / 0.5667 GB, free: 11.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1566, allocations: 8.031 kB / 0.5667 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.1573, allocations: 144.3 kB / 0.5669 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.1579, allocations: 445.9 kB / 0.5673 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.158, allocations: 45.69 kB / 0.5673 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1581, allocations: 64.33 kB / 0.5674 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1592, allocations: 0.6193 MB / 0.568 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.1593, allocations: 11.95 kB / 0.568 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.1593, allocations: 23.98 kB / 0.568 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1593, allocations: 16 kB / 0.5681 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1605, allocations: 0.5182 MB / 0.5686 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.1638, allocations: 2.175 MB / 0.5707 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.1652, allocations: 0.6528 MB / 0.5713 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.1658, allocations: 318 kB / 0.5716 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.166, allocations: 97.53 kB / 0.5717 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.166, allocations: 54.94 kB / 0.5718 GB, free: 5.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.166, allocations: 0 / 0.5718 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008705/0.1747, allocations: 4.539 MB / 0.5762 GB, free: 1.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.1748, allocations: 218.3 kB / 0.5764 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.1753, allocations: 389.8 kB / 0.5768 GB, free: 448 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.1754, allocations: 45.7 kB / 0.5768 GB, free: 396 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.1756, allocations: 281.5 kB / 0.5771 GB, free: 108 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.1759, allocations: 440.2 kB / 0.5775 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.1762, allocations: 186.9 kB / 0.5777 GB, free: 15.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1764, allocations: 382.8 kB / 0.5781 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.1771, allocations: 306.4 kB / 0.5783 GB, free: 14.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000789/0.1779, allocations: 0.4965 MB / 0.5788 GB, free: 14.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1794, allocations: 0.8623 MB / 0.5797 GB, free: 13.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1794, allocations: 0 / 0.5797 GB, free: 13.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001904/0.1813, allocations: 0.9926 MB / 0.5806 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1813, allocations: 4.031 kB / 0.5806 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1813, allocations: 12 kB / 0.5807 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.1813, allocations: 8 kB / 0.5807 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.1824, allocations: 283.6 kB / 0.5809 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.1824, allocations: 16.2 kB / 0.581 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.1829, allocations: 39.98 kB / 0.581 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.183, allocations: 47.98 kB / 0.581 GB, free: 11.91 MB / 446.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 (145): * Single equations (assignments): 145 * 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.000371/0.1833, allocations: 233.5 kB / 0.5813 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.1836, allocations: 79.47 kB / 0.5813 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.1841, allocations: 226.9 kB / 0.5816 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.1841, allocations: 12 kB / 0.5816 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.1841, allocations: 4 kB / 0.5816 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.1841, allocations: 3.984 kB / 0.5816 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.188, allocations: 2.332 MB / 0.5838 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.188, allocations: 4 kB / 0.5839 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.1891, allocations: 248 kB / 0.5841 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.1891, allocations: 11.94 kB / 0.5841 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.1891, allocations: 31.98 kB / 0.5841 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.1892, allocations: 9.562 kB / 0.5841 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1892, allocations: 7.938 kB / 0.5841 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.1918, allocations: 1.882 MB / 0.586 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.1921, allocations: 204.5 kB / 0.5862 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.1922, allocations: 28 kB / 0.5862 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.1928, allocations: 35.98 kB / 0.5862 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.193, allocations: 84.33 kB / 0.5863 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.1931, allocations: 44.05 kB / 0.5864 GB, free: 6.273 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1934, allocations: 263.1 kB / 0.5866 GB, free: 6.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1934, allocations: 192 / 0.5866 GB, free: 6.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008993/0.1943, allocations: 200.1 kB / 0.5868 GB, free: 5.824 MB / 446.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 (116): * Single equations (assignments): 116 * 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.0002077/0.1945, allocations: 139 kB / 0.5869 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.1962, allocations: 0.7959 MB / 0.5877 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1962, allocations: 4 kB / 0.5877 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.197, allocations: 468.1 kB / 0.5882 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.1983, allocations: 140 kB / 0.5883 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.2021, allocations: 2.259 MB / 0.5905 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.2027, allocations: 0.944 MB / 0.5914 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.203, allocations: 79.41 kB / 0.5915 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.203, allocations: 0 / 0.5915 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of Templates: time 0.2594/0.4624, allocations: 9.289 MB / 0.6006 GB, free: 32.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.771200240997132]