Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2426/0.2426, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 66 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005758/0.1316, allocations: 4.18 MB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.134, allocations: 1.18 MB / 0.5606 GB, free: 484 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1345, allocations: 27.81 kB / 0.5606 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1348, allocations: 98.95 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.1353, allocations: 210.1 kB / 0.5609 GB, free: 144 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.136, allocations: 235.5 kB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009507/0.137, allocations: 0.7978 MB / 0.5619 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.1373, allocations: 171.5 kB / 0.5621 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.1378, allocations: 342.8 kB / 0.5624 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.1383, allocations: 338.5 kB / 0.5627 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1384, allocations: 56 kB / 0.5628 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1386, allocations: 87.98 kB / 0.5629 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1387, allocations: 151.4 kB / 0.563 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.1391, allocations: 366.1 kB / 0.5634 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.1401, allocations: 0.7779 MB / 0.5641 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1401, allocations: 3.984 kB / 0.5641 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1401, allocations: 4 kB / 0.5641 GB, free: 12.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1401, allocations: 0 / 0.5641 GB, free: 12.83 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.002241/0.1423, allocations: 1.024 MB / 0.5651 GB, free: 11.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1424, allocations: 12.03 kB / 0.5651 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.1425, allocations: 98.69 kB / 0.5652 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.1432, allocations: 144.3 kB / 0.5654 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.1439, allocations: 449.9 kB / 0.5658 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1439, allocations: 45.69 kB / 0.5658 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.1441, allocations: 68.06 kB / 0.5659 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1453, allocations: 0.6193 MB / 0.5665 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.1453, allocations: 11.95 kB / 0.5665 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.1454, allocations: 20 kB / 0.5665 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1454, allocations: 16 kB / 0.5666 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1466, allocations: 0.5228 MB / 0.5671 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.1501, allocations: 2.163 MB / 0.5692 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.1514, allocations: 0.6564 MB / 0.5698 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.152, allocations: 307.2 kB / 0.5701 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1522, allocations: 101.8 kB / 0.5702 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.1523, allocations: 54.94 kB / 0.5703 GB, free: 6.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.1523, allocations: 0 / 0.5703 GB, free: 6.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008896/0.1612, allocations: 4.543 MB / 0.5747 GB, free: 1.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.1613, allocations: 226.2 kB / 0.5749 GB, free: 1.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.1618, allocations: 389.8 kB / 0.5753 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.703e-05/0.1619, allocations: 45.7 kB / 0.5753 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.1621, allocations: 277.5 kB / 0.5756 GB, free: 304 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.1625, allocations: 432.5 kB / 0.576 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.1628, allocations: 186.9 kB / 0.5762 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.163, allocations: 382.8 kB / 0.5765 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.1637, allocations: 302.5 kB / 0.5768 GB, free: 15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008614/0.1646, allocations: 0.5043 MB / 0.5773 GB, free: 14.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.1662, allocations: 0.8545 MB / 0.5782 GB, free: 13.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1662, allocations: 0 / 0.5782 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001986/0.1682, allocations: 0.9927 MB / 0.5791 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.1682, allocations: 4.438 kB / 0.5791 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.1682, allocations: 12 kB / 0.5792 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.1682, allocations: 8.094 kB / 0.5792 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.1693, allocations: 287.5 kB / 0.5794 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/0.1694, allocations: 15.92 kB / 0.5794 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.1699, allocations: 43.92 kB / 0.5795 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.17, allocations: 51.92 kB / 0.5795 GB, free: 12.09 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.0003741/0.1703, allocations: 231.8 kB / 0.5798 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.1706, allocations: 79.61 kB / 0.5798 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.1711, allocations: 227 kB / 0.5801 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1711, allocations: 15.94 kB / 0.5801 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.1712, allocations: 4 kB / 0.5801 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1712, allocations: 4.047 kB / 0.5801 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.1752, allocations: 2.332 MB / 0.5824 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.1752, allocations: 4 kB / 0.5824 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.1764, allocations: 251.9 kB / 0.5826 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.1764, allocations: 8 kB / 0.5826 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.1764, allocations: 31.98 kB / 0.5826 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.1765, allocations: 8 kB / 0.5826 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.1765, allocations: 7.938 kB / 0.5826 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.1793, allocations: 1.882 MB / 0.5845 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.1796, allocations: 200.5 kB / 0.5847 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.1797, allocations: 31.98 kB / 0.5847 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.1803, allocations: 36.17 kB / 0.5847 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.1805, allocations: 84.33 kB / 0.5848 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.1806, allocations: 43.92 kB / 0.5849 GB, free: 6.461 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.1809, allocations: 267.1 kB / 0.5851 GB, free: 6.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1809, allocations: 0 / 0.5851 GB, free: 6.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.1818, allocations: 196.1 kB / 0.5853 GB, free: 6.012 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.003175/0.185, allocations: 2.465 MB / 0.5877 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1867, allocations: 0.7923 MB / 0.5885 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1867, allocations: 7.938 kB / 0.5885 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.1876, allocations: 454.7 kB / 0.5889 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.189, allocations: 155.7 kB / 0.5891 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2568/0.4458, allocations: 7.293 MB / 0.5962 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.4463, allocations: 0.9462 MB / 0.5971 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004625/0.4468, allocations: 104.9 kB / 0.5972 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.4471, allocations: 272.4 kB / 0.5975 GB, free: 31.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4471, allocations: 0 / 0.5975 GB, free: 31.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.4956, allocations: 14.33 MB / 0.6115 GB, free: 28.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.486/9.981, allocations: 9.531 kB / 0.6115 GB, free: 28.5 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 13.289660211186856]