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.00119/0.00119, allocations: 118 kB / 18.46 MB, free: 4.613 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.001287/0.001287, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.508/1.508, allocations: 227.4 MB / 251.6 MB, free: 268 kB / 190.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.2488/0.2488, allocations: 46.17 MB / 351.1 MB, free: 14.31 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.00218/0.00218, allocations: 90.25 kB / 490.2 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01463/0.1761, allocations: 12.26 MB / 0.5517 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008823/0.185, allocations: 3.855 MB / 0.5554 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.1869, allocations: 63.88 kB / 0.5555 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.1897, allocations: 1.312 MB / 0.5568 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.1942, allocations: 1.712 MB / 0.5585 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1953, allocations: 435.2 kB / 0.5589 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005854/0.2012, allocations: 3.596 MB / 0.5624 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.2048, allocations: 2.001 MB / 0.5643 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.2071, allocations: 1.187 MB / 0.5655 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.2102, allocations: 1.74 MB / 0.5672 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.2109, allocations: 240 kB / 0.5674 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.2128, allocations: 0.8113 MB / 0.5682 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2146, allocations: 1.57 MB / 0.5697 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.2174, allocations: 1.871 MB / 0.5716 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008126/0.2255, allocations: 6.083 MB / 0.5775 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2256, allocations: 0 / 0.5775 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2256, allocations: 3.938 kB / 0.5775 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000174/0.2258, allocations: 0 / 0.5775 GB, free: 13.34 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.007991/0.2338, allocations: 4.14 MB / 0.5816 GB, free: 9.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.2338, allocations: 8.031 kB / 0.5816 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.2443, allocations: 3.102 MB / 0.5846 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.2485, allocations: 1.906 MB / 0.5865 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.2487, allocations: 189 kB / 0.5866 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/0.2492, allocations: 247.8 kB / 0.5869 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.2646, allocations: 10.18 MB / 0.5968 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-05/0.2647, allocations: 27.77 kB / 0.5968 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/0.2651, allocations: 115.8 kB / 0.5969 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003996/0.2691, allocations: 2.467 MB / 0.5994 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3468/0.6159, allocations: 9.348 MB / 0.6085 GB, free: 53.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05023/0.6662, allocations: 31.54 MB / 0.6393 GB, free: 33.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005355/0.6716, allocations: 3.346 MB / 0.6426 GB, free: 30.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.6728, allocations: 1.071 MB / 0.6436 GB, free: 30.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/0.6737, allocations: 1.306 MB / 0.6449 GB, free: 29.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6738, allocations: 51.81 kB / 0.6449 GB, free: 29.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 3.717e-06/0.6738, allocations: 0 / 0.6449 GB, free: 29.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.01746/0.6912, allocations: 9.171 MB / 0.6539 GB, free: 24.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.6913, allocations: 68.72 kB / 0.6539 GB, free: 24.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.6943, allocations: 2.602 MB / 0.6565 GB, free: 22.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.6943, allocations: 49.7 kB / 0.6565 GB, free: 21.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.6955, allocations: 2.783 MB / 0.6593 GB, free: 19.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.696, allocations: 0.7334 MB / 0.66 GB, free: 18.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009174/0.697, allocations: 0.9654 MB / 0.6609 GB, free: 17.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.697, allocations: 309.1 kB / 0.6612 GB, free: 17.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.6986, allocations: 1.548 MB / 0.6627 GB, free: 15.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.7014, allocations: 4.387 MB / 0.667 GB, free: 9.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.7066, allocations: 6.567 MB / 0.6734 GB, free: 1.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.652e-05/0.7067, allocations: 28 kB / 0.6734 GB, free: 1.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01035/0.717, allocations: 5.875 MB / 0.6792 GB, free: 12.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.7171, allocations: 48 kB / 0.6792 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.7173, allocations: 104 kB / 0.6793 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.7176, allocations: 168.8 kB / 0.6795 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/0.7208, allocations: 1.072 MB / 0.6805 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7229, allocations: 1.795 MB / 0.6823 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.7257, allocations: 209.1 kB / 0.6825 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004301/0.7262, allocations: 307.3 kB / 0.6828 GB, free: 8.215 MB / 478.1 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.003583/0.7298, allocations: 1.985 MB / 0.6847 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004962/0.7303, allocations: 258.2 kB / 0.685 GB, free: 5.965 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.7344, allocations: 2.531 MB / 0.6874 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.7344, allocations: 20 kB / 0.6875 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.7344, allocations: 11.92 kB / 0.6875 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7344, allocations: 3.984 kB / 0.6875 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7476, allocations: 7.928 MB / 0.6952 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.7476, allocations: 11.94 kB / 0.6952 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.7486, allocations: 251.7 kB / 0.6955 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.7488, allocations: 68.77 kB / 0.6955 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.7489, allocations: 42.09 kB / 0.6956 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.7505, allocations: 1.618 MB / 0.6971 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.7505, allocations: 15.94 kB / 0.6972 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/0.7564, allocations: 4.039 MB / 0.7011 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008506/0.7573, allocations: 311.3 kB / 0.7014 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.7576, allocations: 36 kB / 0.7014 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/0.7583, allocations: 54.14 kB / 0.7015 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.7586, allocations: 120.7 kB / 0.7016 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.7587, allocations: 69.64 kB / 0.7017 GB, free: 4.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002504/0.7612, allocations: 1.603 MB / 0.7032 GB, free: 2.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7612, allocations: 0 / 0.7032 GB, free: 2.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003753/0.765, allocations: 0.7751 MB / 0.704 GB, free: 1.988 MB / 494.1 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.0004451/0.7654, allocations: 176.7 kB / 0.7042 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006979/0.7724, allocations: 3.884 MB / 0.708 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.7725, allocations: 0 / 0.708 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.7743, allocations: 1.233 MB / 0.7092 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.7766, allocations: 349.9 kB / 0.7095 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.7942, allocations: 8.543 MB / 0.7178 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004219/0.7985, allocations: 3.133 MB / 0.7209 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003871/0.8023, allocations: 1.714 MB / 0.7226 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.8029, allocations: 187.4 kB / 0.7227 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.8029, allocations: 0 / 0.7227 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.05039/0.8533, allocations: 20.84 MB / 0.7431 GB, free: 9.832 MB / 0.5294 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.0.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.528032605536282]