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.001248/0.001248, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0013/0.0013, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8695/0.8695, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2447/0.2447, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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 1.452e-06/1.452e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.958e-05, allocations: 9.172 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1756/0.1756, allocations: 3.769 MB / 445.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1769, allocations: 1.138 MB / 447 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1771, allocations: 22.72 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1773, allocations: 102.9 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1775, allocations: 217.9 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1779, allocations: 232.2 kB / 447.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.1784, allocations: 0.8281 MB / 448.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1786, allocations: 152 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.1789, allocations: 477.9 kB / 449 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1791, allocations: 261.3 kB / 449.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.1792, allocations: 61.59 kB / 449.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1793, allocations: 89.52 kB / 449.4 MB, free: 40.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.1794, allocations: 153.1 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1795, allocations: 245.7 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.1799, allocations: 0.7961 MB / 450.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1799, allocations: 3.938 kB / 450.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1799, allocations: 0 / 450.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.18, allocations: 0 / 450.6 MB, free: 40.28 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.001016/0.181, allocations: 0.9472 MB / 451.6 MB, free: 39.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.181, allocations: 8.375 kB / 451.6 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.572e-05/0.1811, allocations: 106.7 kB / 451.7 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.1814, allocations: 145.7 kB / 451.8 MB, free: 39.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1817, allocations: 374.2 kB / 452.2 MB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.1818, allocations: 40.44 kB / 452.2 MB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1818, allocations: 67.95 kB / 452.3 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.1824, allocations: 0.6188 MB / 452.9 MB, free: 38.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1825, allocations: 13.52 kB / 452.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.1825, allocations: 25.75 kB / 453 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1825, allocations: 14.16 kB / 453 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.1831, allocations: 0.5088 MB / 453.5 MB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1847, allocations: 1.987 MB / 455.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.1854, allocations: 0.6521 MB / 456.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.1857, allocations: 310.1 kB / 456.4 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1858, allocations: 30.11 kB / 456.5 MB, free: 36.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1858, allocations: 44.72 kB / 456.5 MB, free: 36.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/0.1858, allocations: 0 / 456.5 MB, free: 36.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.004058/0.1899, allocations: 3.936 MB / 460.4 MB, free: 34.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1899, allocations: 218.3 kB / 460.7 MB, free: 34.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1902, allocations: 401.6 kB / 461 MB, free: 34.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1902, allocations: 43.95 kB / 461.1 MB, free: 34.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.1903, allocations: 287.4 kB / 461.4 MB, free: 33.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1904, allocations: 430.6 kB / 461.8 MB, free: 33.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1906, allocations: 181 kB / 462 MB, free: 33.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.1906, allocations: 379.8 kB / 462.3 MB, free: 33.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.191, allocations: 312.7 kB / 462.6 MB, free: 32.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.1914, allocations: 0.4926 MB / 463.1 MB, free: 32.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/0.1922, allocations: 0.8686 MB / 464 MB, free: 32.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1922, allocations: 0 / 464 MB, free: 32.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009497/0.1932, allocations: 1.006 MB / 465 MB, free: 31.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1932, allocations: 10.62 kB / 465 MB, free: 31.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1932, allocations: 3.344 kB / 465 MB, free: 31.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.1932, allocations: 10.03 kB / 465 MB, free: 31.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.1937, allocations: 281.4 kB / 465.3 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1937, allocations: 13.53 kB / 465.3 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.194, allocations: 49.48 kB / 465.4 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.194, allocations: 42.69 kB / 465.4 MB, free: 31.72 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.0001784/0.1942, allocations: 229.9 kB / 465.6 MB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1943, allocations: 76.72 kB / 465.7 MB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.1945, allocations: 228.8 kB / 465.9 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1945, allocations: 13.19 kB / 465.9 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.1946, allocations: 0 / 465.9 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.1946, allocations: 6.766 kB / 466 MB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.1965, allocations: 2.143 MB / 468.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1965, allocations: 3.344 kB / 468.1 MB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.197, allocations: 254.4 kB / 468.3 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.197, allocations: 9.062 kB / 468.4 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1971, allocations: 29.06 kB / 468.4 MB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1971, allocations: 13.53 kB / 468.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.1971, allocations: 6.531 kB / 468.4 MB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1984, allocations: 1.879 MB / 470.3 MB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1985, allocations: 132.6 kB / 470.4 MB, free: 28.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.1986, allocations: 26.56 kB / 470.4 MB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.1989, allocations: 45.73 kB / 470.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.199, allocations: 86.31 kB / 470.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.199, allocations: 37.33 kB / 470.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.1992, allocations: 267.6 kB / 470.9 MB, free: 28.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1992, allocations: 0 / 470.9 MB, free: 28.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.1998, allocations: 196.8 kB / 471.1 MB, free: 28.65 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.001426/0.2012, allocations: 2.451 MB / 473.5 MB, free: 26.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000847/0.202, allocations: 0.7935 MB / 474.3 MB, free: 26.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.202, allocations: 0 / 474.3 MB, free: 26.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.2025, allocations: 471.6 kB / 474.8 MB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.2033, allocations: 140 kB / 474.9 MB, free: 26.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.209, allocations: 6.995 MB / 481.9 MB, free: 22.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2093, allocations: 360.1 kB / 482.2 MB, free: 22.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003797/0.2097, allocations: 106.3 kB / 482.4 MB, free: 22.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.2099, allocations: 275.8 kB / 482.6 MB, free: 21.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2099, allocations: 0 / 482.6 MB, free: 21.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.2442, allocations: 15.28 MB / 497.9 MB, free: 19.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.395, allocations: 4.922 kB / 497.9 MB, free: 19.72 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 9.445625861175358]