Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.000863/0.000863, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.005007/0.005007, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.9209/0.9209, allocations: 177 MB / 204.9 MB, free: 5.754 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.2497/0.2497, allocations: 34.24 MB / 295.6 MB, free: 0.668 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.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.698e-05, allocations: 10.16 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.21/0.2101, allocations: 13.97 MB / 457.4 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.2159, allocations: 4.803 MB / 462.2 MB, free: 32.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009934/0.2169, allocations: 112.7 kB / 462.3 MB, free: 32.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.2204, allocations: 5.294 MB / 467.6 MB, free: 30.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.2232, allocations: 2.622 MB / 470.2 MB, free: 29.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2246, allocations: 1.31 MB / 471.5 MB, free: 28.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004304/0.229, allocations: 7.698 MB / 479.2 MB, free: 26.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00395/0.2329, allocations: 5.784 MB / 485 MB, free: 23.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.2372, allocations: 4.009 MB / 489 MB, free: 21.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.2422, allocations: 4.025 MB / 493.1 MB, free: 20.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009295/0.2431, allocations: 0.5826 MB / 493.6 MB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.2454, allocations: 1.249 MB / 494.9 MB, free: 20.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.2479, allocations: 3.444 MB / 498.3 MB, free: 19.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.2499, allocations: 2.194 MB / 0.4888 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009614/0.2595, allocations: 11.22 MB / 0.4998 GB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2595, allocations: 0 / 0.4998 GB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2595, allocations: 5.031 kB / 0.4998 GB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002689/0.2598, allocations: 0 / 0.4998 GB, free: 11.18 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01079/0.2706, allocations: 7.786 MB / 0.5074 GB, free: 4.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2706, allocations: 12.03 kB / 0.5074 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/0.2758, allocations: 2.691 MB / 0.51 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.2806, allocations: 3.501 MB / 0.5134 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.2808, allocations: 435.3 kB / 0.5138 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006429/0.2814, allocations: 0.5508 MB / 0.5144 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/0.3083, allocations: 19.9 MB / 0.5338 GB, free: 7.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.3084, allocations: 75.34 kB / 0.5339 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000498/0.3089, allocations: 267.8 kB / 0.5341 GB, free: 7.605 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002905/0.3118, allocations: 3.149 MB / 0.5372 GB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.3349, allocations: 15.85 MB / 0.5527 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05449/0.3894, allocations: 59.98 MB / 0.6113 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.4005, allocations: 5.965 MB / 0.6171 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4025, allocations: 1.894 MB / 0.6189 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009718/0.4122, allocations: 7.68 MB / 0.6264 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.4123, allocations: 62 kB / 0.6265 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 5.22e-06/0.4123, allocations: 0 / 0.6265 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of matching and sorting (n=291): time 0.2276/0.6399, allocations: 22.5 MB / 0.6485 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.64, allocations: 157.2 kB / 0.6486 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/0.6444, allocations: 5.534 MB / 0.654 GB, free: 143 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.6446, allocations: 73.48 kB / 0.6541 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.6459, allocations: 5.01 MB / 0.659 GB, free: 139 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/0.6465, allocations: 1.157 MB / 0.6601 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.6477, allocations: 1.797 MB / 0.6619 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.703e-05/0.6478, allocations: 301.1 kB / 0.6622 GB, free: 137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.65, allocations: 2.642 MB / 0.6648 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.6543, allocations: 8.197 MB / 0.6728 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/0.6626, allocations: 11.76 MB / 0.6842 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/0.6627, allocations: 56.38 kB / 0.6843 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01147/0.6741, allocations: 10.51 MB / 0.6946 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6742, allocations: 89.38 kB / 0.6946 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002365/0.6745, allocations: 197.7 kB / 0.6948 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.6746, allocations: 265.4 kB / 0.6951 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/0.6778, allocations: 2.208 MB / 0.6972 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001759/0.6779, allocations: 390.1 kB / 0.6976 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.6816, allocations: 0.5374 MB / 0.6981 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004118/0.682, allocations: 0.5453 MB / 0.6987 GB, free: 113 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1180 * Array equations: 3 * 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.005029/0.687, allocations: 3.14 MB / 0.7017 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/0.6877, allocations: 486.1 kB / 0.7022 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.6907, allocations: 2.94 MB / 0.7051 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.6907, allocations: 32.88 kB / 0.7051 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6908, allocations: 3.844 kB / 0.7051 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6908, allocations: 13.41 kB / 0.7051 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.7008, allocations: 10.17 MB / 0.715 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7008, allocations: 32.7 kB / 0.7151 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.7018, allocations: 0.5436 MB / 0.7156 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.7018, allocations: 44 kB / 0.7156 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.7019, allocations: 91.33 kB / 0.7157 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-05/0.7019, allocations: 67.03 kB / 0.7158 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.702, allocations: 51.69 kB / 0.7158 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.7058, allocations: 5.503 MB / 0.7212 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/0.7064, allocations: 0.4928 MB / 0.7217 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.7067, allocations: 91.36 kB / 0.7218 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7078, allocations: 200 kB / 0.722 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.708, allocations: 282.3 kB / 0.7222 GB, free: 94.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/0.7081, allocations: 116 kB / 0.7224 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002784/0.7109, allocations: 3.171 MB / 0.7255 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7109, allocations: 0 / 0.7255 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00494/0.7158, allocations: 1.539 MB / 0.727 GB, free: 89.76 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 272 * Array equations: 3 * 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.0003541/0.7162, allocations: 275.8 kB / 0.7272 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005345/0.7215, allocations: 5.82 MB / 0.7329 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.7215, allocations: 4 kB / 0.7329 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7226, allocations: 1.304 MB / 0.7342 GB, free: 83.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7245, allocations: 0.6323 MB / 0.7348 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.7387, allocations: 14.9 MB / 0.7494 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003059/0.7418, allocations: 4.258 MB / 0.7535 GB, free: 65.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.7428, allocations: 428.4 kB / 0.7539 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.7428, allocations: 4 kB / 0.7539 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.07226/0.8151, allocations: 84.21 MB / 0.8362 GB, free: 12.81 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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: 11.158557987771928]