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.001794/0.001794, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002286/0.002286, allocations: 206 kB / 23.72 MB, free: 4.492 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.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.2237/0.2237, allocations: 46.96 MB / 360.8 MB, free: 3.895 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.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 0.002401/0.002401, allocations: 83.88 kB / 0.4966 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.363, allocations: 66.09 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0143/0.3773, allocations: 10.71 MB / 0.5716 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008985/0.3863, allocations: 3.672 MB / 0.5752 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.3884, allocations: 71.75 kB / 0.5753 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.3917, allocations: 1.304 MB / 0.5766 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.3964, allocations: 1.771 MB / 0.5783 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3976, allocations: 427.2 kB / 0.5787 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.4027, allocations: 3.595 MB / 0.5822 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.4051, allocations: 1.835 MB / 0.584 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.407, allocations: 1.214 MB / 0.5852 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4095, allocations: 1.845 MB / 0.587 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.41, allocations: 240 kB / 0.5872 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.4117, allocations: 0.7176 MB / 0.5879 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001603/0.4133, allocations: 1.601 MB / 0.5895 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.4149, allocations: 1.339 MB / 0.5908 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006848/0.4218, allocations: 6.118 MB / 0.5968 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4218, allocations: 0 / 0.5968 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4218, allocations: 0 / 0.5968 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001904/0.422, allocations: 0 / 0.5968 GB, free: 15.33 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.007512/0.4295, allocations: 4.061 MB / 0.6007 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4295, allocations: 12.03 kB / 0.6007 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4401, allocations: 3.094 MB / 0.6038 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005034/0.4452, allocations: 1.861 MB / 0.6056 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.4453, allocations: 189 kB / 0.6058 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005925/0.4459, allocations: 251.7 kB / 0.606 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.4626, allocations: 10.17 MB / 0.6159 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-05/0.4627, allocations: 31.7 kB / 0.616 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.4631, allocations: 123.8 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.4671, allocations: 2.463 MB / 0.6185 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.4857, allocations: 9.329 MB / 0.6276 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05066/0.5364, allocations: 28.66 MB / 0.6556 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/0.5425, allocations: 2.337 MB / 0.6579 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.5443, allocations: 0.9899 MB / 0.6588 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009276/0.5452, allocations: 434.6 kB / 0.6593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.5453, allocations: 51.86 kB / 0.6593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.971e-06/0.5453, allocations: 4 kB / 0.6593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02103/0.5663, allocations: 8.92 MB / 0.668 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.5664, allocations: 68.72 kB / 0.6681 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/0.57, allocations: 2.605 MB / 0.6706 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5701, allocations: 49.69 kB / 0.6707 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.5721, allocations: 2.795 MB / 0.6734 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.5727, allocations: 0.7325 MB / 0.6741 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.574, allocations: 0.9693 MB / 0.6751 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5742, allocations: 365.7 kB / 0.6754 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.5765, allocations: 1.548 MB / 0.6769 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/0.5815, allocations: 4.387 MB / 0.6812 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008444/0.59, allocations: 6.567 MB / 0.6876 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.425e-05/0.59, allocations: 31.83 kB / 0.6877 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009981/0.6, allocations: 5.86 MB / 0.6934 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.757e-05/0.6001, allocations: 53.97 kB / 0.6934 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.6002, allocations: 96 kB / 0.6935 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.6006, allocations: 177.5 kB / 0.6937 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.6038, allocations: 1.068 MB / 0.6947 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.6056, allocations: 1.667 MB / 0.6964 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.6087, allocations: 204 kB / 0.6966 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008263/0.6095, allocations: 292 kB / 0.6968 GB, free: 4.418 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.003725/0.6132, allocations: 1.998 MB / 0.6988 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/0.6138, allocations: 246.3 kB / 0.699 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.6178, allocations: 2.519 MB / 0.7015 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/0.6178, allocations: 27.98 kB / 0.7015 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6178, allocations: 3.938 kB / 0.7015 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.6178, allocations: 7.969 kB / 0.7015 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6303, allocations: 6.521 MB / 0.7079 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.6303, allocations: 12.03 kB / 0.7079 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6314, allocations: 247.6 kB / 0.7081 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.6315, allocations: 56.77 kB / 0.7082 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6316, allocations: 43.98 kB / 0.7082 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.6332, allocations: 1.5 MB / 0.7097 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.6332, allocations: 16 kB / 0.7097 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.639, allocations: 4.01 MB / 0.7136 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.6399, allocations: 214.4 kB / 0.7138 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.6402, allocations: 47.98 kB / 0.7139 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.6409, allocations: 51.95 kB / 0.7139 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.6412, allocations: 128.6 kB / 0.714 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6413, allocations: 59.98 kB / 0.7141 GB, free: 2.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002444/0.6437, allocations: 1.466 MB / 0.7155 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6437, allocations: 3.938 kB / 0.7155 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004214/0.648, allocations: 0.7811 MB / 0.7163 GB, free: 0 / 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.000501/0.6485, allocations: 182.7 kB / 0.7165 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006461/0.6549, allocations: 3.717 MB / 0.7201 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/0.6549, allocations: 4 kB / 0.7201 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.657, allocations: 1.174 MB / 0.7213 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.6586, allocations: 267.8 kB / 0.7215 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.6751, allocations: 8.634 MB / 0.7299 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3252/1, allocations: 2.578 MB / 0.7325 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006187/1.007, allocations: 1.7 MB / 0.7341 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/1.007, allocations: 172.8 kB / 0.7343 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.402e-06/1.007, allocations: 0 / 0.7343 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.03885/1.046, allocations: 19.64 MB / 0.7535 GB, free: 142.7 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] 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.876533688977361]