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.001559/0.001559, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001703/0.001703, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2301/0.2301, allocations: 46.97 MB / 361.6 MB, free: 4.117 MB / 286.1 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 0.002057/0.002057, allocations: 63.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01492/0.3475, allocations: 10.71 MB / 0.5723 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00879/0.3563, allocations: 3.671 MB / 0.5759 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.3586, allocations: 75.69 kB / 0.5759 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.3616, allocations: 1.308 MB / 0.5772 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.3659, allocations: 1.782 MB / 0.579 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3669, allocations: 419.2 kB / 0.5794 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004773/0.3717, allocations: 3.599 MB / 0.5829 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.3741, allocations: 1.84 MB / 0.5847 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.3759, allocations: 1.21 MB / 0.5859 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3787, allocations: 1.927 MB / 0.5877 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.3792, allocations: 240 kB / 0.588 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3808, allocations: 0.7138 MB / 0.5887 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3823, allocations: 1.604 MB / 0.5902 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.384, allocations: 1.342 MB / 0.5915 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007076/0.391, allocations: 6.113 MB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.391, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.391, allocations: 4 kB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.3912, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 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.007182/0.3984, allocations: 4.057 MB / 0.6015 GB, free: 11.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3984, allocations: 8.031 kB / 0.6015 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4091, allocations: 3.102 MB / 0.6045 GB, free: 8.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006337/0.4155, allocations: 1.861 MB / 0.6063 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.4157, allocations: 185 kB / 0.6065 GB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.4169, allocations: 251.8 kB / 0.6067 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.4332, allocations: 10.18 MB / 0.6167 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-05/0.4333, allocations: 31.7 kB / 0.6167 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.4337, allocations: 115.8 kB / 0.6168 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003885/0.4376, allocations: 2.467 MB / 0.6192 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.4556, allocations: 9.337 MB / 0.6284 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/0.5048, allocations: 28.65 MB / 0.6563 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005749/0.5106, allocations: 2.337 MB / 0.6586 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.5121, allocations: 0.986 MB / 0.6596 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008598/0.513, allocations: 434.6 kB / 0.66 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.513, allocations: 47.88 kB / 0.66 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.13e-06/0.513, allocations: 0 / 0.66 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01989/0.5329, allocations: 8.932 MB / 0.6688 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.533, allocations: 68.72 kB / 0.6688 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.5367, allocations: 2.605 MB / 0.6714 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.5368, allocations: 53.7 kB / 0.6714 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.5389, allocations: 2.788 MB / 0.6741 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/0.5397, allocations: 0.7364 MB / 0.6749 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.541, allocations: 0.9693 MB / 0.6758 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5412, allocations: 357.7 kB / 0.6761 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.5436, allocations: 1.551 MB / 0.6777 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/0.5489, allocations: 4.391 MB / 0.6819 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008535/0.5574, allocations: 6.567 MB / 0.6884 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.5575, allocations: 28 kB / 0.6884 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01053/0.568, allocations: 5.86 MB / 0.6941 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/0.5681, allocations: 56.19 kB / 0.6942 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/0.5682, allocations: 96 kB / 0.6943 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.5686, allocations: 176.8 kB / 0.6944 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.5719, allocations: 1.068 MB / 0.6955 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.5736, allocations: 1.658 MB / 0.6971 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.5763, allocations: 200 kB / 0.6973 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/0.5767, allocations: 304.3 kB / 0.6976 GB, free: 4.555 MB / 0.5294 GB 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.00311/0.5798, allocations: 1.989 MB / 0.6995 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.5803, allocations: 246.3 kB / 0.6997 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.5842, allocations: 2.523 MB / 0.7022 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.5842, allocations: 24 kB / 0.7022 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5842, allocations: 4 kB / 0.7022 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.5842, allocations: 7.969 kB / 0.7022 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.596, allocations: 6.52 MB / 0.7086 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.596, allocations: 12 kB / 0.7086 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5971, allocations: 251.6 kB / 0.7089 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.5972, allocations: 52.83 kB / 0.7089 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.5973, allocations: 36.56 kB / 0.7089 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.5988, allocations: 1.511 MB / 0.7104 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.5988, allocations: 11.94 kB / 0.7104 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/0.6042, allocations: 4.014 MB / 0.7144 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.6049, allocations: 218.3 kB / 0.7146 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.6051, allocations: 35.94 kB / 0.7146 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.6058, allocations: 59.95 kB / 0.7147 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.606, allocations: 124.6 kB / 0.7148 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.6062, allocations: 67.97 kB / 0.7148 GB, free: 2.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002115/0.6083, allocations: 1.466 MB / 0.7163 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6083, allocations: 64 / 0.7163 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003791/0.6121, allocations: 0.7811 MB / 0.717 GB, free: 148 kB / 0.545 GB 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.0005368/0.6126, allocations: 182.6 kB / 0.7172 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006414/0.619, allocations: 3.715 MB / 0.7208 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.619, allocations: 4 kB / 0.7208 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.6207, allocations: 1.167 MB / 0.722 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6224, allocations: 273 kB / 0.7222 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.6378, allocations: 8.649 MB / 0.7307 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2937/0.9315, allocations: 2.581 MB / 0.7332 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004787/0.9363, allocations: 1.7 MB / 0.7349 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.9368, allocations: 172.4 kB / 0.735 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.054e-06/0.9368, allocations: 0 / 0.735 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.03854/0.9753, allocations: 21.82 MB / 0.7563 GB, free: 141.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.510455762007041]