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.001776/0.001776, allocations: 82.69 kB / 20.68 MB, free: 1.035 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.002456/0.002456, allocations: 157.4 kB / 23.95 MB, free: 4.168 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.538/1.538, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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.2236/0.2236, allocations: 34.26 MB / 294.8 MB, free: 14.55 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: 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.653e-06/1.653e-06, allocations: 0 / 442.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.137e-05, allocations: 6.219 kB / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005428/0.005459, allocations: 3.782 MB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.0077, allocations: 1.133 MB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.007955, allocations: 19.81 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.008202, allocations: 102.9 kB / 447.7 MB, free: 288 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.008621, allocations: 218 kB / 447.9 MB, free: 68 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1935/0.2021, allocations: 227 kB / 448.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2032, allocations: 0.834 MB / 448.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.2035, allocations: 159.7 kB / 449.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.2041, allocations: 475.5 kB / 449.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.2045, allocations: 257.5 kB / 449.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.2046, allocations: 58.41 kB / 449.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.2048, allocations: 91.06 kB / 449.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2049, allocations: 150.8 kB / 450.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2052, allocations: 246.5 kB / 450.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.206, allocations: 0.7955 MB / 451.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.206, allocations: 1.781 kB / 451.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.206, allocations: 3.812 kB / 451.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2061, allocations: 0 / 451.1 MB, free: 14.87 MB / 366.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.00173/0.2078, allocations: 0.9493 MB / 452.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2078, allocations: 9.625 kB / 452.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006629/0.2085, allocations: 147.8 kB / 452.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.209, allocations: 364.4 kB / 452.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.209, allocations: 46.03 kB / 452.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2091, allocations: 68.89 kB / 452.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2103, allocations: 0.6196 MB / 453.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.2103, allocations: 13.86 kB / 453.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.2104, allocations: 20.88 kB / 453.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2104, allocations: 19.06 kB / 453.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.2115, allocations: 0.5096 MB / 453.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.2142, allocations: 1.918 MB / 455.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2154, allocations: 0.6465 MB / 456.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/0.216, allocations: 317.4 kB / 456.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.2161, allocations: 21.23 kB / 456.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2161, allocations: 54.19 kB / 456.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.026e-06/0.2161, allocations: 0 / 456.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.007897/0.224, allocations: 3.938 MB / 460.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.2241, allocations: 224.4 kB / 461 MB, free: 9.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.2246, allocations: 391.7 kB / 461.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.2247, allocations: 45.64 kB / 461.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2249, allocations: 283 kB / 461.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.2251, allocations: 428.1 kB / 462.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.2254, allocations: 182.4 kB / 462.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2255, allocations: 387.3 kB / 462.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.2262, allocations: 309.7 kB / 463 MB, free: 7.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.2269, allocations: 0.4959 MB / 463.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2284, allocations: 0.868 MB / 464.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2284, allocations: 1.375 kB / 464.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002065/0.2304, allocations: 0.9941 MB / 465.3 MB, free: 6.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.2305, allocations: 8.156 kB / 465.3 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2305, allocations: 5.625 kB / 465.3 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.2305, allocations: 14.56 kB / 465.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.2316, allocations: 277.3 kB / 465.6 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.2316, allocations: 16.08 kB / 465.6 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.2321, allocations: 51.55 kB / 465.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.2322, allocations: 42.2 kB / 465.7 MB, free: 6.777 MB / 366.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.0003532/0.2325, allocations: 232 kB / 466 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.2328, allocations: 79.95 kB / 466 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.2332, allocations: 230.7 kB / 466.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.2333, allocations: 13.5 kB / 466.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.2333, allocations: 5.953 kB / 466.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.2333, allocations: 8.062 kB / 466.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.2368, allocations: 2.047 MB / 468.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.2368, allocations: 4.547 kB / 468.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.2379, allocations: 255 kB / 468.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.2379, allocations: 7.312 kB / 468.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.238, allocations: 25.31 kB / 468.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.238, allocations: 9.266 kB / 468.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.238, allocations: 7.922 kB / 468.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.2404, allocations: 1.887 MB / 470.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.2407, allocations: 128.4 kB / 470.7 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.2409, allocations: 27.38 kB / 470.7 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006421/0.2415, allocations: 35.16 kB / 470.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.2417, allocations: 91.09 kB / 470.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.2418, allocations: 35.86 kB / 470.8 MB, free: 4.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004971/0.2423, allocations: 271.3 kB / 471.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2423, allocations: 3.938 kB / 471.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001675/0.244, allocations: 194.7 kB / 471.3 MB, free: 3.871 MB / 366.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.0002845/0.2443, allocations: 139.5 kB / 471.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2462, allocations: 0.7965 MB / 472.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2462, allocations: 1.375 kB / 472.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008326/0.247, allocations: 470.5 kB / 472.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.2484, allocations: 141.8 kB / 472.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.2514, allocations: 1.898 MB / 474.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.2519, allocations: 361.7 kB / 475.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000494/0.2524, allocations: 108.6 kB / 475.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.2526, allocations: 64.59 kB / 475.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2526, allocations: 0 / 475.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Templates: time 0.01498/0.2676, allocations: 7.3 MB / 482.6 MB, free: 12.94 MB / 382.1 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.215093672275543]