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.0008849/0.0008849, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004128/0.004128, allocations: 159.7 kB / 24.7 MB, free: 9.441 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.9281/0.9281, allocations: 177 MB / 204.9 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.2661/0.2661, allocations: 34.24 MB / 295.6 MB, free: 0.6953 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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 443.4 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.242e-05, allocations: 4.812 kB / 443.4 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1941/0.1941, allocations: 3.771 MB / 447.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1956, allocations: 1.142 MB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1958, allocations: 20.47 kB / 448.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.196, allocations: 101.1 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1963, allocations: 224.7 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1967, allocations: 228.4 kB / 448.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.1972, allocations: 0.8249 MB / 449.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.1975, allocations: 151.5 kB / 449.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.1979, allocations: 476.5 kB / 450.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1982, allocations: 264.9 kB / 450.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.1982, allocations: 55.81 kB / 450.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1984, allocations: 93.53 kB / 450.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.1984, allocations: 149.8 kB / 450.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1986, allocations: 247.8 kB / 451.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.1991, allocations: 0.7982 MB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1991, allocations: 0 / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1991, allocations: 0 / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1991, allocations: 4 kB / 451.9 MB, free: 40.29 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.001084/0.2002, allocations: 0.9516 MB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2002, allocations: 8.531 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.2006, allocations: 148.4 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.2009, allocations: 357.7 kB / 453.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.201, allocations: 47.66 kB / 453.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.201, allocations: 70.56 kB / 453.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.2017, allocations: 0.619 MB / 454.1 MB, free: 39.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.2017, allocations: 13.73 kB / 454.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2017, allocations: 23.53 kB / 454.1 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2017, allocations: 20.61 kB / 454.2 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.2023, allocations: 0.5065 MB / 454.7 MB, free: 38.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2039, allocations: 1.921 MB / 456.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.2046, allocations: 0.6429 MB / 457.2 MB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.2049, allocations: 315.8 kB / 457.5 MB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.421e-05/0.205, allocations: 34.12 kB / 457.6 MB, free: 37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.205, allocations: 48.2 kB / 457.6 MB, free: 36.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.043e-06/0.205, allocations: 0 / 457.6 MB, free: 36.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.004014/0.209, allocations: 3.929 MB / 461.5 MB, free: 34.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.2091, allocations: 227.3 kB / 461.8 MB, free: 34.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2093, allocations: 397.1 kB / 462.1 MB, free: 34.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.2094, allocations: 49.11 kB / 462.2 MB, free: 34.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.2095, allocations: 282.5 kB / 462.5 MB, free: 33.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.2096, allocations: 424.6 kB / 462.9 MB, free: 33.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.2098, allocations: 185 kB / 463.1 MB, free: 33.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.2098, allocations: 382.6 kB / 463.4 MB, free: 33.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.2102, allocations: 308.3 kB / 463.7 MB, free: 33.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.2106, allocations: 0.4976 MB / 464.2 MB, free: 32.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.2114, allocations: 0.8586 MB / 465.1 MB, free: 32.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2114, allocations: 3.156 kB / 465.1 MB, free: 32.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009506/0.2123, allocations: 0.9938 MB / 466.1 MB, free: 31.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2123, allocations: 7.125 kB / 466.1 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2124, allocations: 10.56 kB / 466.1 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2124, allocations: 14.22 kB / 466.1 MB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.2129, allocations: 275.8 kB / 466.4 MB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.2129, allocations: 13.56 kB / 466.4 MB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2131, allocations: 50.22 kB / 466.5 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.2131, allocations: 40.88 kB / 466.5 MB, free: 31.86 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.000169/0.2133, allocations: 234.6 kB / 466.7 MB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2134, allocations: 85.8 kB / 466.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.2136, allocations: 218.5 kB / 467 MB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.2136, allocations: 17.92 kB / 467 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.2136, allocations: 0 / 467 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.2136, allocations: 10.03 kB / 467.1 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.2155, allocations: 2.057 MB / 469.1 MB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2155, allocations: 3.031 kB / 469.1 MB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.216, allocations: 258.2 kB / 469.4 MB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.216, allocations: 6.406 kB / 469.4 MB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.216, allocations: 27.92 kB / 469.4 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.216, allocations: 9.797 kB / 469.4 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.216, allocations: 3.25 kB / 469.4 MB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.2174, allocations: 1.881 MB / 471.3 MB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.2175, allocations: 128.3 kB / 471.4 MB, free: 29.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.2176, allocations: 25.44 kB / 471.4 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2179, allocations: 34.77 kB / 471.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.218, allocations: 92.47 kB / 471.6 MB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.218, allocations: 40.94 kB / 471.6 MB, free: 29.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.2182, allocations: 265.1 kB / 471.9 MB, free: 28.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2182, allocations: 7.281 kB / 471.9 MB, free: 28.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005116/0.2187, allocations: 195.6 kB / 472.1 MB, free: 28.84 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.0001647/0.2188, allocations: 133.6 kB / 472.2 MB, free: 28.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000916/0.2198, allocations: 0.796 MB / 473 MB, free: 28.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2198, allocations: 0 / 473 MB, free: 28.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.2202, allocations: 481.3 kB / 473.5 MB, free: 28.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.221, allocations: 135.5 kB / 473.6 MB, free: 28.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2229, allocations: 1.94 MB / 475.5 MB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2231, allocations: 358.2 kB / 475.9 MB, free: 26.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.2232, allocations: 87.03 kB / 476 MB, free: 26.91 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2232, allocations: 0 / 476 MB, free: 26.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01042/0.2337, allocations: 9.619 MB / 485.6 MB, free: 25.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] 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: 5.271044820547104]