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.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.001523/0.001523, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001764/0.001764, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.567/1.567, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 0.4885 GB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1489, allocations: 65.42 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005784/0.1547, allocations: 4.186 MB / 0.5565 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.1572, allocations: 1.18 MB / 0.5577 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.1577, allocations: 23.81 kB / 0.5577 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.158, allocations: 98.95 kB / 0.5578 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005449/0.1586, allocations: 218.1 kB / 0.558 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.1592, allocations: 219.5 kB / 0.5582 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1602, allocations: 0.7978 MB / 0.559 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.1606, allocations: 187.7 kB / 0.5592 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.1611, allocations: 334.8 kB / 0.5595 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.1615, allocations: 346.4 kB / 0.5598 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.1616, allocations: 60 kB / 0.5599 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1618, allocations: 87.98 kB / 0.5599 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.162, allocations: 143.5 kB / 0.5601 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.1623, allocations: 358.2 kB / 0.5604 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009442/0.1633, allocations: 0.7934 MB / 0.5612 GB, free: 1.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1633, allocations: 0 / 0.5612 GB, free: 1.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1633, allocations: 4 kB / 0.5612 GB, free: 1.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.1633, allocations: 0 / 0.5612 GB, free: 1.141 MB / 414.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.002068/0.1653, allocations: 1.024 MB / 0.5622 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1654, allocations: 8.031 kB / 0.5622 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.552e-05/0.1654, allocations: 25.5 kB / 0.5622 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.1656, allocations: 94.7 kB / 0.5623 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007215/0.1663, allocations: 144.3 kB / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.1669, allocations: 445.9 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.167, allocations: 37.69 kB / 0.5629 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.1671, allocations: 71.89 kB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1683, allocations: 0.6155 MB / 0.5636 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.1683, allocations: 11.94 kB / 0.5636 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.1684, allocations: 24 kB / 0.5636 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.1684, allocations: 16 kB / 0.5636 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.1695, allocations: 0.5112 MB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.1729, allocations: 2.167 MB / 0.5663 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.1742, allocations: 0.6641 MB / 0.5669 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.1748, allocations: 316.5 kB / 0.5672 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.175, allocations: 93.48 kB / 0.5673 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.1751, allocations: 51.3 kB / 0.5673 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.016e-06/0.1751, allocations: 4 kB / 0.5673 GB, free: 10.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.00882/0.1839, allocations: 4.529 MB / 0.5718 GB, free: 5.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.184, allocations: 226.2 kB / 0.572 GB, free: 5.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1845, allocations: 389.9 kB / 0.5724 GB, free: 4.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.1846, allocations: 45.7 kB / 0.5724 GB, free: 4.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.1848, allocations: 285.5 kB / 0.5727 GB, free: 4.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.1851, allocations: 432.2 kB / 0.5731 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.1854, allocations: 183 kB / 0.5733 GB, free: 3.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.1856, allocations: 386.8 kB / 0.5736 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006432/0.1862, allocations: 306.4 kB / 0.5739 GB, free: 3.301 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/0.187, allocations: 0.4926 MB / 0.5744 GB, free: 2.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.1886, allocations: 0.8738 MB / 0.5753 GB, free: 1.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1886, allocations: 0 / 0.5753 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00192/0.1905, allocations: 0.9845 MB / 0.5762 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1905, allocations: 11.98 kB / 0.5762 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1905, allocations: 4.438 kB / 0.5762 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.1906, allocations: 16 kB / 0.5762 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1916, allocations: 275.7 kB / 0.5765 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.1916, allocations: 15.94 kB / 0.5765 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.1921, allocations: 43.98 kB / 0.5766 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.1922, allocations: 39.98 kB / 0.5766 GB, free: 424 kB / 430.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.0003689/0.1926, allocations: 247.6 kB / 0.5768 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.1929, allocations: 79.53 kB / 0.5769 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.1934, allocations: 230.9 kB / 0.5771 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.1935, allocations: 12 kB / 0.5772 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.1935, allocations: 4 kB / 0.5772 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.1935, allocations: 7.969 kB / 0.5772 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004089/0.1976, allocations: 2.326 MB / 0.5794 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.1976, allocations: 7.938 kB / 0.5794 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.1987, allocations: 244 kB / 0.5797 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.1987, allocations: 12 kB / 0.5797 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.1988, allocations: 31.98 kB / 0.5797 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.1988, allocations: 8 kB / 0.5797 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.1988, allocations: 7.938 kB / 0.5797 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.2016, allocations: 1.875 MB / 0.5816 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.202, allocations: 208.5 kB / 0.5818 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.2021, allocations: 32 kB / 0.5818 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.2027, allocations: 35.97 kB / 0.5818 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.2029, allocations: 88.33 kB / 0.5819 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.203, allocations: 32.06 kB / 0.5819 GB, free: 10.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.2033, allocations: 271.1 kB / 0.5822 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2033, allocations: 0 / 0.5822 GB, free: 10.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009875/0.2043, allocations: 200 kB / 0.5824 GB, free: 10.32 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.003389/0.2077, allocations: 2.461 MB / 0.5848 GB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.21, allocations: 0.8039 MB / 0.5856 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.21, allocations: 4 kB / 0.5856 GB, free: 6.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009589/0.211, allocations: 459.2 kB / 0.586 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.2127, allocations: 149.3 kB / 0.5862 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2558/0.4685, allocations: 7.292 MB / 0.5933 GB, free: 37.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.4689, allocations: 0.9508 MB / 0.5942 GB, free: 36.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005355/0.4695, allocations: 105 kB / 0.5943 GB, free: 36.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.4699, allocations: 272.1 kB / 0.5946 GB, free: 36.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4699, allocations: 0 / 0.5946 GB, free: 36.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.5131, allocations: 14.38 MB / 0.6086 GB, free: 33.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.17, allocations: 7.438 kB / 0.6086 GB, free: 33.44 MB / 446.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.952799721970223]