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.0008256/0.0008256, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000902/0.000902, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9131/0.9131, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2257/0.2257, allocations: 32.78 MB / 293.5 MB, free: 1.211 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.383e-05, allocations: 4.391 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003762/0.003786, allocations: 3.786 MB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1663/0.1701, allocations: 1.121 MB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.1704, allocations: 21.03 kB / 444.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1706, allocations: 101 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1709, allocations: 227.2 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.1713, allocations: 238.8 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.1718, allocations: 0.8235 MB / 445.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.172, allocations: 155.7 kB / 446 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.1724, allocations: 469.1 kB / 446.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1726, allocations: 260.3 kB / 446.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.1727, allocations: 56.41 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1728, allocations: 94.98 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.1729, allocations: 148.6 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.173, allocations: 251.6 kB / 447.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.1735, allocations: 0.7966 MB / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1735, allocations: 1.719 kB / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1735, allocations: 0 / 448.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1735, allocations: 0 / 448.1 MB, free: 42.48 MB / 410.7 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.001068/0.1746, allocations: 0.9513 MB / 449 MB, free: 41.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1747, allocations: 8.812 kB / 449 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.1747, allocations: 103.4 kB / 449.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.175, allocations: 148 kB / 449.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1754, allocations: 364.4 kB / 449.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1754, allocations: 45.69 kB / 449.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.1755, allocations: 64.48 kB / 449.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1761, allocations: 0.6277 MB / 450.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1761, allocations: 14.8 kB / 450.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.1762, allocations: 21.62 kB / 450.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1762, allocations: 14.31 kB / 450.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.1768, allocations: 0.5093 MB / 450.9 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1784, allocations: 1.988 MB / 452.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.1791, allocations: 0.6514 MB / 453.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.1794, allocations: 316.4 kB / 453.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.704e-05/0.1795, allocations: 16.12 kB / 453.9 MB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.1795, allocations: 56.92 kB / 453.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.355e-06/0.1795, allocations: 0 / 453.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.003951/0.1835, allocations: 3.934 MB / 457.9 MB, free: 36.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1835, allocations: 228.5 kB / 458.1 MB, free: 36.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1838, allocations: 393.5 kB / 458.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1838, allocations: 44.7 kB / 458.5 MB, free: 36.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.1839, allocations: 280.6 kB / 458.8 MB, free: 36.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.184, allocations: 426 kB / 459.2 MB, free: 35.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1842, allocations: 185.3 kB / 459.4 MB, free: 35.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.1842, allocations: 382.7 kB / 459.8 MB, free: 35.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1846, allocations: 307.4 kB / 460.1 MB, free: 35.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.185, allocations: 0.5016 MB / 460.6 MB, free: 34.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.1858, allocations: 0.8624 MB / 461.4 MB, free: 34.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1858, allocations: 7.219 kB / 461.4 MB, free: 34.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009425/0.1867, allocations: 0.9943 MB / 462.4 MB, free: 34.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1867, allocations: 13.09 kB / 462.4 MB, free: 34.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1867, allocations: 7.438 kB / 462.5 MB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1867, allocations: 10.06 kB / 462.5 MB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1872, allocations: 285.5 kB / 462.7 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1873, allocations: 16.59 kB / 462.8 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1875, allocations: 38.97 kB / 462.8 MB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.1875, allocations: 44.75 kB / 462.8 MB, free: 34 MB / 410.7 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.0001734/0.1877, allocations: 232.4 kB / 463.1 MB, free: 33.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1878, allocations: 78.97 kB / 463.1 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.188, allocations: 227.2 kB / 463.4 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.188, allocations: 12.84 kB / 463.4 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.188, allocations: 3.281 kB / 463.4 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.188, allocations: 8.922 kB / 463.4 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1899, allocations: 2.14 MB / 465.5 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1899, allocations: 3.188 kB / 465.5 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.1904, allocations: 245.2 kB / 465.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1904, allocations: 9.531 kB / 465.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.1904, allocations: 33.06 kB / 465.8 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1904, allocations: 17.72 kB / 465.8 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1905, allocations: 3.406 kB / 465.8 MB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.1917, allocations: 1.874 MB / 467.7 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.1919, allocations: 123.8 kB / 467.8 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.1919, allocations: 27.28 kB / 467.9 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.1922, allocations: 50.58 kB / 467.9 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.1924, allocations: 89.2 kB / 468 MB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1924, allocations: 38.39 kB / 468 MB, free: 31.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.1926, allocations: 265.9 kB / 468.3 MB, free: 31 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1926, allocations: 0 / 468.3 MB, free: 31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005915/0.1932, allocations: 207.9 kB / 468.5 MB, free: 30.96 MB / 410.7 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.001526/0.1947, allocations: 2.453 MB / 470.9 MB, free: 29.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008584/0.1955, allocations: 0.795 MB / 471.7 MB, free: 29.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1955, allocations: 0 / 471.7 MB, free: 29.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.196, allocations: 461.6 kB / 472.2 MB, free: 28.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.1967, allocations: 151.2 kB / 472.3 MB, free: 28.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.202, allocations: 6.989 MB / 479.3 MB, free: 24.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2022, allocations: 367 kB / 479.7 MB, free: 24.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000312/0.2025, allocations: 106.6 kB / 479.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.2028, allocations: 273 kB / 480.1 MB, free: 24.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2028, allocations: 0 / 480.1 MB, free: 24.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.2338, allocations: 15.29 MB / 495.3 MB, free: 22.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.268, allocations: 4.578 kB / 495.4 MB, free: 22.05 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 9.35157282371074]