Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.002666/0.002666, allocations: 99.53 kB / 20.97 MB, free: 3.445 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.003127/0.003127, allocations: 160.8 kB / 24.27 MB, free: 148 kB / 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 1.539/1.539, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.3418/0.3418, allocations: 34.26 MB / 295.2 MB, free: 0.6289 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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.23e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01672/0.01675, allocations: 11.74 MB / 389 MB, free: 7.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009117/0.02587, allocations: 3.781 MB / 392.7 MB, free: 3.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.02721, allocations: 67.75 kB / 392.8 MB, free: 3.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.03033, allocations: 1.401 MB / 394.2 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.03499, allocations: 1.832 MB / 396 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.03614, allocations: 463 kB / 396.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005668/0.04181, allocations: 3.974 MB / 400.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.04503, allocations: 2.161 MB / 402.6 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.04832, allocations: 1.847 MB / 404.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003696/0.05202, allocations: 1.964 MB / 406.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.05264, allocations: 244 kB / 406.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.05436, allocations: 0.7761 MB / 407.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.05621, allocations: 1.679 MB / 409.1 MB, free: 2.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.05784, allocations: 1.004 MB / 410.1 MB, free: 1.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009233/0.06707, allocations: 6.049 MB / 416.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.06708, allocations: 3.938 kB / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.06708, allocations: 0 / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.0673, allocations: 0 / 416.2 MB, free: 11.74 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01236/0.07966, allocations: 4.877 MB / 421.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.07971, allocations: 8.031 kB / 421.1 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01322/0.09293, allocations: 3.621 MB / 424.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.09819, allocations: 1.725 MB / 426.4 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.0984, allocations: 189 kB / 426.6 MB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/0.09912, allocations: 244.2 kB / 426.8 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.1119, allocations: 5.561 MB / 432.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.609e-05/0.112, allocations: 23.77 kB / 432.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.1123, allocations: 115.8 kB / 432.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004803/0.1171, allocations: 2.475 MB / 435 MB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.1288, allocations: 3.582 MB / 438.6 MB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/0.3302, allocations: 40.16 MB / 478.8 MB, free: 66.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.3343, allocations: 1.293 MB / 480 MB, free: 66.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/0.3351, allocations: 386.7 kB / 480.4 MB, free: 65.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.3357, allocations: 399.9 kB / 480.8 MB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3358, allocations: 57.05 kB / 480.9 MB, free: 65.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.419e-06/0.3358, allocations: 3.719 kB / 480.9 MB, free: 65.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01542/0.3512, allocations: 5.611 MB / 486.5 MB, free: 63.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3512, allocations: 66.72 kB / 486.5 MB, free: 63.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/0.3553, allocations: 3.045 MB / 489.6 MB, free: 62.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.3554, allocations: 50.48 kB / 489.6 MB, free: 62.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.3573, allocations: 3.037 MB / 492.7 MB, free: 60.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000756/0.358, allocations: 0.8168 MB / 493.5 MB, free: 59.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.3595, allocations: 1.217 MB / 494.7 MB, free: 59.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3597, allocations: 0.5679 MB / 495.3 MB, free: 58.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3609, allocations: 0.546 MB / 495.8 MB, free: 58.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.3636, allocations: 4.899 MB / 0.489 GB, free: 52.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/0.3683, allocations: 6.016 MB / 0.4949 GB, free: 46.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.3684, allocations: 29.97 kB / 0.4949 GB, free: 46.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006802/0.3752, allocations: 4.132 MB / 0.4989 GB, free: 44.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.3753, allocations: 51.66 kB / 0.499 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.3754, allocations: 102.3 kB / 0.4991 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.3758, allocations: 169.4 kB / 0.4992 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.3785, allocations: 1.075 MB / 0.5003 GB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.3797, allocations: 2.071 MB / 0.5023 GB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.3824, allocations: 233.5 kB / 0.5025 GB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/0.3828, allocations: 297.3 kB / 0.5028 GB, free: 42.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001459/0.3842, allocations: 0.6495 MB / 0.5035 GB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005345/0.3848, allocations: 295.7 kB / 0.5037 GB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.3872, allocations: 1.484 MB / 0.5052 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.3872, allocations: 20.19 kB / 0.5052 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3872, allocations: 7.031 kB / 0.5052 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3872, allocations: 9.328 kB / 0.5052 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.3973, allocations: 6.02 MB / 0.5111 GB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.3973, allocations: 12.25 kB / 0.5111 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.3982, allocations: 251 kB / 0.5113 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.3984, allocations: 50.3 kB / 0.5114 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.173e-05/0.3984, allocations: 46.94 kB / 0.5114 GB, free: 35.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008955/0.3993, allocations: 1.903 MB / 0.5133 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3994, allocations: 19.97 kB / 0.5133 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.4021, allocations: 2.063 MB / 0.5153 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.4027, allocations: 236.6 kB / 0.5156 GB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.4029, allocations: 38.81 kB / 0.5156 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008124/0.4037, allocations: 71.83 kB / 0.5157 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.4039, allocations: 122.4 kB / 0.5158 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.404, allocations: 67.11 kB / 0.5158 GB, free: 31.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001544/0.4056, allocations: 1.247 MB / 0.5171 GB, free: 30.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 0.5171 GB, free: 30.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003732/0.4093, allocations: 0.8313 MB / 0.5179 GB, free: 29.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/0.4098, allocations: 193.5 kB / 0.5181 GB, free: 29.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/0.4138, allocations: 2.568 MB / 0.5206 GB, free: 26.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.4138, allocations: 0 / 0.5206 GB, free: 26.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.4148, allocations: 0.7432 MB / 0.5213 GB, free: 26.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.4165, allocations: 274.6 kB / 0.5216 GB, free: 26.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.4266, allocations: 7.213 MB / 0.5286 GB, free: 19.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.4292, allocations: 2.268 MB / 0.5308 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003273/0.4324, allocations: 1.448 MB / 0.5322 GB, free: 16.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.4328, allocations: 181.5 kB / 0.5324 GB, free: 16.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4328, allocations: 0 / 0.5324 GB, free: 16.56 MB / 410.7 MB Notification: Performance of Templates: time 0.03552/0.4684, allocations: 16.63 MB / 0.5486 GB, free: 2.125 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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: 6.4518648739904165]