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.001903/0.001903, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00195/0.00195, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.27 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.2518/0.2518, allocations: 46.92 MB / 357.8 MB, free: 10.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 59.91 kB / 0.4916 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.132, allocations: 65.99 MB / 0.556 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00603/0.138, allocations: 4.179 MB / 0.5601 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1407, allocations: 1.184 MB / 0.5613 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.1412, allocations: 19.88 kB / 0.5613 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1416, allocations: 102.9 kB / 0.5614 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.1422, allocations: 206.1 kB / 0.5616 GB, free: 228 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.1429, allocations: 227.6 kB / 0.5618 GB, free: 0 / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.144, allocations: 0.8018 MB / 0.5626 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.1443, allocations: 175.5 kB / 0.5628 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005788/0.1449, allocations: 334.8 kB / 0.5631 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.1454, allocations: 342.4 kB / 0.5634 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.1455, allocations: 60 kB / 0.5635 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1457, allocations: 87.98 kB / 0.5635 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1459, allocations: 151.4 kB / 0.5637 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.1462, allocations: 362.1 kB / 0.564 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1472, allocations: 0.7857 MB / 0.5648 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1473, allocations: 0 / 0.5648 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1473, allocations: 3.938 kB / 0.5648 GB, free: 12.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1473, allocations: 0 / 0.5648 GB, free: 12.91 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.0021/0.1494, allocations: 1.028 MB / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1494, allocations: 8.031 kB / 0.5658 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.746e-05/0.1494, allocations: 17.5 kB / 0.5658 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.1496, allocations: 98.69 kB / 0.5659 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007183/0.1503, allocations: 152.3 kB / 0.5661 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.1509, allocations: 433.9 kB / 0.5665 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.151, allocations: 45.62 kB / 0.5665 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1511, allocations: 79.88 kB / 0.5666 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1523, allocations: 0.6116 MB / 0.5672 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.1523, allocations: 7.953 kB / 0.5672 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.1524, allocations: 28 kB / 0.5672 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.1524, allocations: 12 kB / 0.5673 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1536, allocations: 0.5229 MB / 0.5678 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.1572, allocations: 2.167 MB / 0.5699 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1586, allocations: 0.6642 MB / 0.5705 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.1593, allocations: 312.1 kB / 0.5708 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.1594, allocations: 93.53 kB / 0.5709 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.1595, allocations: 50.94 kB / 0.571 GB, free: 6.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.615e-06/0.1595, allocations: 0 / 0.571 GB, free: 6.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.009124/0.1686, allocations: 4.535 MB / 0.5754 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.1687, allocations: 218.3 kB / 0.5756 GB, free: 1.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.1692, allocations: 401.8 kB / 0.576 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.1693, allocations: 45.77 kB / 0.576 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.1695, allocations: 281.5 kB / 0.5763 GB, free: 368 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.1699, allocations: 436.4 kB / 0.5767 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.1702, allocations: 182.9 kB / 0.5769 GB, free: 15.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.1704, allocations: 378.8 kB / 0.5772 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.1711, allocations: 306.5 kB / 0.5775 GB, free: 15.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.1719, allocations: 0.5015 MB / 0.578 GB, free: 14.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.1735, allocations: 0.8544 MB / 0.5789 GB, free: 13.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1735, allocations: 7.938 kB / 0.5789 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001989/0.1755, allocations: 0.9962 MB / 0.5798 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.1755, allocations: 8 kB / 0.5799 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1755, allocations: 4 kB / 0.5799 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.1755, allocations: 12 kB / 0.5799 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.1766, allocations: 275.6 kB / 0.5801 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/0.1766, allocations: 19.92 kB / 0.5801 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.1772, allocations: 44.14 kB / 0.5802 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.1773, allocations: 47.92 kB / 0.5802 GB, free: 12.17 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.0003906/0.1776, allocations: 231.7 kB / 0.5805 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.1779, allocations: 79.53 kB / 0.5805 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/0.1784, allocations: 223.4 kB / 0.5807 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.1785, allocations: 12.14 kB / 0.5808 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.1785, allocations: 3.984 kB / 0.5808 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.1785, allocations: 7.984 kB / 0.5808 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.1825, allocations: 2.34 MB / 0.5831 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.1825, allocations: 8.031 kB / 0.5831 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.1837, allocations: 243.7 kB / 0.5833 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.1837, allocations: 8.281 kB / 0.5833 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.1837, allocations: 28 kB / 0.5833 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.1838, allocations: 11.98 kB / 0.5833 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.1838, allocations: 11.88 kB / 0.5834 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.1866, allocations: 1.886 MB / 0.5852 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.1869, allocations: 200.6 kB / 0.5854 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-05/0.187, allocations: 27.98 kB / 0.5854 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.1877, allocations: 35.98 kB / 0.5854 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.1879, allocations: 88.33 kB / 0.5855 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.1879, allocations: 35.98 kB / 0.5856 GB, free: 6.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.1883, allocations: 267.1 kB / 0.5858 GB, free: 6.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1883, allocations: 0 / 0.5858 GB, free: 6.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009565/0.1892, allocations: 200.1 kB / 0.586 GB, free: 6.082 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.003348/0.1926, allocations: 2.461 MB / 0.5884 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.1945, allocations: 0.8035 MB / 0.5892 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.1945, allocations: 0 / 0.5892 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.1955, allocations: 467.6 kB / 0.5896 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.197, allocations: 145.3 kB / 0.5898 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2428/0.4398, allocations: 7.289 MB / 0.5969 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4403, allocations: 0.9494 MB / 0.5978 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004526/0.4408, allocations: 106.4 kB / 0.5979 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.4411, allocations: 270.6 kB / 0.5982 GB, free: 32 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4411, allocations: 0 / 0.5982 GB, free: 32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/0.4845, allocations: 14.38 MB / 0.6122 GB, free: 28.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.61, allocations: 3.344 kB / 0.6122 GB, free: 28.59 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.213962313020602]