Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0018/0.0018, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001657/0.001657, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.571/1.571, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 79.86 kB / 0.4912 GB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 66 MB / 0.5557 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005588/0.1296, allocations: 4.186 MB / 0.5598 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.132, allocations: 1.188 MB / 0.5609 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.1324, allocations: 15.88 kB / 0.5609 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1327, allocations: 103 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.1332, allocations: 206.1 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1338, allocations: 227.6 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.1347, allocations: 0.8018 MB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.135, allocations: 175.4 kB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.1354, allocations: 322.8 kB / 0.5627 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.1359, allocations: 350.5 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.136, allocations: 56 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1361, allocations: 87.98 kB / 0.5632 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1363, allocations: 151.4 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.1366, allocations: 358.1 kB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.1375, allocations: 0.7818 MB / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1375, allocations: 0 / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1375, allocations: 0 / 0.5644 GB, free: 13.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1375, allocations: 0 / 0.5644 GB, free: 13.22 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.002/0.1395, allocations: 1.032 MB / 0.5654 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1396, allocations: 12.03 kB / 0.5654 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1397, allocations: 94.7 kB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/0.1404, allocations: 156.3 kB / 0.5657 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.141, allocations: 434 kB / 0.5661 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.1411, allocations: 41.69 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1412, allocations: 72.08 kB / 0.5662 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1423, allocations: 0.6155 MB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.1424, allocations: 15.95 kB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.1424, allocations: 20 kB / 0.5668 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1424, allocations: 16 kB / 0.5669 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1435, allocations: 0.5189 MB / 0.5674 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.1468, allocations: 2.171 MB / 0.5695 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.1481, allocations: 0.6525 MB / 0.5701 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.1486, allocations: 311.2 kB / 0.5704 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1488, allocations: 93.8 kB / 0.5705 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.1488, allocations: 58.97 kB / 0.5706 GB, free: 6.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.445e-06/0.1488, allocations: 0 / 0.5706 GB, free: 6.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.00845/0.1573, allocations: 4.529 MB / 0.575 GB, free: 1.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.1574, allocations: 226.3 kB / 0.5752 GB, free: 1.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.1579, allocations: 393.8 kB / 0.5756 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/0.158, allocations: 45.7 kB / 0.5756 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.1582, allocations: 289.8 kB / 0.5759 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.1586, allocations: 432.2 kB / 0.5763 GB, free: 260 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.1589, allocations: 174.9 kB / 0.5765 GB, free: 76 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.1591, allocations: 386.8 kB / 0.5768 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.1597, allocations: 314.4 kB / 0.5771 GB, free: 15.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.1605, allocations: 0.5004 MB / 0.5776 GB, free: 14.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.162, allocations: 0.8611 MB / 0.5785 GB, free: 13.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.162, allocations: 0 / 0.5785 GB, free: 13.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00187/0.1639, allocations: 0.9974 MB / 0.5795 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1639, allocations: 9.719 kB / 0.5795 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1639, allocations: 4 kB / 0.5795 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.164, allocations: 15.94 kB / 0.5795 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.165, allocations: 275.6 kB / 0.5797 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.165, allocations: 12.44 kB / 0.5798 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.1655, allocations: 47.97 kB / 0.5798 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.1655, allocations: 43.94 kB / 0.5798 GB, free: 12.48 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.0003356/0.1659, allocations: 233.6 kB / 0.5801 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.1661, allocations: 79.47 kB / 0.5801 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.1665, allocations: 222.9 kB / 0.5804 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.1666, allocations: 16 kB / 0.5804 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.1666, allocations: 4 kB / 0.5804 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.1666, allocations: 7.969 kB / 0.5804 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.1707, allocations: 2.324 MB / 0.5826 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.1707, allocations: 4 kB / 0.5827 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.1718, allocations: 251.6 kB / 0.5829 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.1718, allocations: 8 kB / 0.5829 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.1719, allocations: 27.98 kB / 0.5829 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.1719, allocations: 11.94 kB / 0.5829 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1719, allocations: 4 kB / 0.5829 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.1746, allocations: 1.883 MB / 0.5848 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.175, allocations: 208.5 kB / 0.585 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1751, allocations: 24 kB / 0.585 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.1757, allocations: 39.97 kB / 0.585 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.1759, allocations: 92.31 kB / 0.5851 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.1759, allocations: 40.05 kB / 0.5852 GB, free: 6.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.1762, allocations: 267.1 kB / 0.5854 GB, free: 6.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1762, allocations: 0 / 0.5854 GB, free: 6.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009123/0.1772, allocations: 200.1 kB / 0.5856 GB, free: 6.406 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.003023/0.1802, allocations: 2.463 MB / 0.588 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.1818, allocations: 0.7986 MB / 0.5888 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1819, allocations: 0 / 0.5888 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.1827, allocations: 468.3 kB / 0.5892 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.1842, allocations: 140.3 kB / 0.5894 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2532/0.4374, allocations: 7.295 MB / 0.5965 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.438, allocations: 0.9498 MB / 0.5974 GB, free: 32.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005289/0.4385, allocations: 106.9 kB / 0.5975 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.4389, allocations: 270.7 kB / 0.5978 GB, free: 32.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4389, allocations: 0 / 0.5978 GB, free: 32.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04997/0.4889, allocations: 14.33 MB / 0.6118 GB, free: 28.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/9.688, allocations: 8.125 kB / 0.6118 GB, free: 28.91 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 12.964304124005139]