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.001795/0.001795, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.002235/0.002235, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.493/1.493, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2281/0.2281, allocations: 46.91 MB / 357.7 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.88 kB / 0.4916 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1259, allocations: 66.05 MB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005718/0.1316, allocations: 4.17 MB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1339, allocations: 1.188 MB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.1343, allocations: 23.81 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1346, allocations: 98.95 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.135, allocations: 214.2 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.1356, allocations: 227.5 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.1365, allocations: 0.7977 MB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.1368, allocations: 171.5 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004419/0.1372, allocations: 338.8 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.1377, allocations: 338.4 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.1378, allocations: 64 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1379, allocations: 87.98 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1381, allocations: 151.4 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.1384, allocations: 358.1 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.1393, allocations: 0.7857 MB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1393, allocations: 0 / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1393, allocations: 0 / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1393, allocations: 0 / 0.5649 GB, free: 12.51 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.001982/0.1413, allocations: 1.032 MB / 0.5659 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1413, allocations: 11.97 kB / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.473e-05/0.1413, allocations: 17.5 kB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.1415, allocations: 98.69 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.1422, allocations: 148.3 kB / 0.5662 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.1427, allocations: 441.9 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.1428, allocations: 41.69 kB / 0.5666 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1429, allocations: 75.88 kB / 0.5667 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.1441, allocations: 0.6116 MB / 0.5673 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.1441, allocations: 11.95 kB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.1442, allocations: 24 kB / 0.5673 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1442, allocations: 19.94 kB / 0.5674 GB, free: 9.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1453, allocations: 0.5112 MB / 0.5678 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.1485, allocations: 2.171 MB / 0.57 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1498, allocations: 0.6564 MB / 0.5706 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/0.1504, allocations: 307.2 kB / 0.5709 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.1506, allocations: 101.8 kB / 0.571 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1506, allocations: 54.94 kB / 0.5711 GB, free: 5.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.1506, allocations: 0 / 0.5711 GB, free: 5.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008815/0.1594, allocations: 4.538 MB / 0.5755 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.1596, allocations: 230.3 kB / 0.5757 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.1601, allocations: 389.8 kB / 0.5761 GB, free: 296 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.1602, allocations: 45.7 kB / 0.5761 GB, free: 244 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1604, allocations: 277.6 kB / 0.5764 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.1608, allocations: 432.2 kB / 0.5768 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.1611, allocations: 186.9 kB / 0.577 GB, free: 15.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1613, allocations: 382.8 kB / 0.5773 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.1619, allocations: 306.5 kB / 0.5776 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.1628, allocations: 0.4965 MB / 0.5781 GB, free: 14.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.1643, allocations: 0.8592 MB / 0.579 GB, free: 13.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1643, allocations: 0 / 0.579 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001873/0.1662, allocations: 1 MB / 0.5799 GB, free: 12.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1662, allocations: 4 kB / 0.5799 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.1662, allocations: 8.547 kB / 0.5799 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.1662, allocations: 8 kB / 0.58 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.1673, allocations: 279.6 kB / 0.5802 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.1673, allocations: 16.38 kB / 0.5802 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.1678, allocations: 51.91 kB / 0.5803 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.1679, allocations: 43.98 kB / 0.5803 GB, free: 11.77 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.0003384/0.1682, allocations: 233.5 kB / 0.5805 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.1685, allocations: 75.67 kB / 0.5806 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.169, allocations: 231.2 kB / 0.5808 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.169, allocations: 16 kB / 0.5809 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.169, allocations: 4 kB / 0.5809 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.169, allocations: 3.984 kB / 0.5809 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.1728, allocations: 2.336 MB / 0.5831 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1728, allocations: 7.938 kB / 0.5832 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.1739, allocations: 243.7 kB / 0.5834 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.1739, allocations: 8 kB / 0.5834 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.174, allocations: 28 kB / 0.5834 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-05/0.174, allocations: 16.05 kB / 0.5834 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.174, allocations: 8.219 kB / 0.5834 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.1766, allocations: 1.888 MB / 0.5853 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.1769, allocations: 200.5 kB / 0.5855 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.177, allocations: 31.98 kB / 0.5855 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.1776, allocations: 35.98 kB / 0.5855 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.1778, allocations: 88.33 kB / 0.5856 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.1779, allocations: 39.98 kB / 0.5857 GB, free: 6.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.1782, allocations: 263.1 kB / 0.5859 GB, free: 5.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.5859 GB, free: 5.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000897/0.1791, allocations: 200.1 kB / 0.5861 GB, free: 5.672 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.003019/0.1821, allocations: 2.461 MB / 0.5885 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.1837, allocations: 0.7915 MB / 0.5893 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1837, allocations: 0 / 0.5893 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008746/0.1846, allocations: 468.1 kB / 0.5897 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.1859, allocations: 146.6 kB / 0.5899 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2298/0.4158, allocations: 7.293 MB / 0.597 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4162, allocations: 0.9544 MB / 0.5979 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004315/0.4167, allocations: 101.3 kB / 0.598 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.417, allocations: 270.7 kB / 0.5983 GB, free: 31.89 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.417, allocations: 3.656 kB / 0.5983 GB, free: 31.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.4559, allocations: 14.37 MB / 0.6123 GB, free: 28.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.452/9.908, allocations: 13.84 kB / 0.6123 GB, free: 28.4 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.475934743997641]