Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9935/0.9935, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2783/0.2783, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.102e-05, allocations: 2.312 kB / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009571/0.009602, allocations: 11.77 MB / 389.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007877/0.01748, allocations: 3.788 MB / 393.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.01971, allocations: 67.75 kB / 393.7 MB, free: 3.246 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.02226, allocations: 1.405 MB / 395.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.02595, allocations: 1.836 MB / 396.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.02683, allocations: 455 kB / 397.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004597/0.03143, allocations: 3.968 MB / 401.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.03427, allocations: 2.164 MB / 403.5 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.03738, allocations: 1.843 MB / 405.3 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.04019, allocations: 1.972 MB / 407.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005756/0.04077, allocations: 244 kB / 407.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.04226, allocations: 0.7684 MB / 408.3 MB, free: 4.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.04367, allocations: 1.675 MB / 410 MB, free: 2.852 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.04505, allocations: 1 MB / 411 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004777/0.04983, allocations: 3.937 MB / 414.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.04983, allocations: 0 / 414.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.04983, allocations: 0 / 414.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.573e-05/0.04993, allocations: 0 / 414.9 MB, free: 13.89 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.006102/0.05603, allocations: 4.495 MB / 419.4 MB, free: 9.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.05607, allocations: 8.031 kB / 419.4 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008856/0.06493, allocations: 3.625 MB / 423 MB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.06788, allocations: 1.717 MB / 424.7 MB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.06801, allocations: 189 kB / 424.9 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.06847, allocations: 252.1 kB / 425.2 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008248/0.07672, allocations: 5.171 MB / 430.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.289e-05/0.07679, allocations: 23.77 kB / 430.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.07711, allocations: 119.8 kB / 430.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003461/0.08057, allocations: 2.463 MB / 433 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.09067, allocations: 3.078 MB / 436 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2047/0.2954, allocations: 32.05 MB / 468.1 MB, free: 72.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.2983, allocations: 1.244 MB / 469.3 MB, free: 72.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.2989, allocations: 351.1 kB / 469.7 MB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.2994, allocations: 407.9 kB / 470.1 MB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2994, allocations: 49.61 kB / 470.1 MB, free: 72.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.809e-06/0.2994, allocations: 3.125 kB / 470.1 MB, free: 72.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01027/0.3097, allocations: 5.472 MB / 475.6 MB, free: 70.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3098, allocations: 65.44 kB / 475.7 MB, free: 70.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.3121, allocations: 2.458 MB / 478.1 MB, free: 69.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.3122, allocations: 49.02 kB / 478.2 MB, free: 69.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.3135, allocations: 2.9 MB / 481.1 MB, free: 67.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.314, allocations: 0.7622 MB / 481.8 MB, free: 66.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008342/0.3149, allocations: 1.043 MB / 482.9 MB, free: 66.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.315, allocations: 0.5395 MB / 483.4 MB, free: 65.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008769/0.3158, allocations: 0.5005 MB / 483.9 MB, free: 65.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.318, allocations: 4.698 MB / 488.6 MB, free: 60.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.3218, allocations: 5.772 MB / 494.4 MB, free: 53.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-05/0.3219, allocations: 27.16 kB / 494.4 MB, free: 53.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005346/0.3272, allocations: 4.039 MB / 498.4 MB, free: 52.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.3273, allocations: 51.12 kB / 498.5 MB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.3274, allocations: 103.2 kB / 498.6 MB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.3278, allocations: 169.2 kB / 498.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.33, allocations: 1.07 MB / 499.8 MB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3311, allocations: 2.049 MB / 0.4901 GB, free: 50.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.3331, allocations: 230.4 kB / 0.4903 GB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.3335, allocations: 299.3 kB / 0.4906 GB, free: 49.95 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.001271/0.3347, allocations: 0.5375 MB / 0.4911 GB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.3351, allocations: 289.7 kB / 0.4914 GB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.337, allocations: 1.355 MB / 0.4927 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.337, allocations: 23.97 kB / 0.4928 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.337, allocations: 1.375 kB / 0.4928 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.337, allocations: 6.656 kB / 0.4928 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/0.3443, allocations: 4.921 MB / 0.4976 GB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.3443, allocations: 10.72 kB / 0.4976 GB, free: 46.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.3449, allocations: 248.7 kB / 0.4978 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.3451, allocations: 50.8 kB / 0.4979 GB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.3452, allocations: 50.58 kB / 0.4979 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.346, allocations: 1.86 MB / 0.4997 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3461, allocations: 16.66 kB / 0.4998 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.3482, allocations: 1.951 MB / 0.5017 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.3485, allocations: 224 kB / 0.5019 GB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.3487, allocations: 36.91 kB / 0.5019 GB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.3492, allocations: 81.52 kB / 0.502 GB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.3494, allocations: 127.3 kB / 0.5021 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.3494, allocations: 60.11 kB / 0.5022 GB, free: 43.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.3506, allocations: 1.044 MB / 0.5032 GB, free: 42.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3506, allocations: 0 / 0.5032 GB, free: 42.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003018/0.3536, allocations: 0.8369 MB / 0.504 GB, free: 42.62 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.0003847/0.354, allocations: 193.3 kB / 0.5042 GB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.3571, allocations: 2.346 MB / 0.5065 GB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.3571, allocations: 3.5 kB / 0.5065 GB, free: 41.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.3578, allocations: 0.6715 MB / 0.5071 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.3589, allocations: 277 kB / 0.5074 GB, free: 41.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009482/0.3684, allocations: 7.118 MB / 0.5143 GB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.3694, allocations: 1.14 MB / 0.5155 GB, free: 35.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002448/0.3719, allocations: 1.442 MB / 0.5169 GB, free: 34.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.3722, allocations: 181.2 kB / 0.517 GB, free: 34.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3722, allocations: 0 / 0.517 GB, free: 34.09 MB / 410.7 MB Notification: Performance of Templates: time 0.0292/0.4014, allocations: 16.65 MB / 0.5333 GB, free: 21.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.205660404171795]