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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 199.8 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3858, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01463/0.4005, allocations: 12.26 MB / 0.543 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009966/0.4105, allocations: 3.857 MB / 0.5467 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.4134, allocations: 60.78 kB / 0.5468 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.4166, allocations: 1.312 MB / 0.5481 GB, free: 92 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.4218, allocations: 1.765 MB / 0.5498 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.4229, allocations: 423.2 kB / 0.5502 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005722/0.4286, allocations: 3.602 MB / 0.5537 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.4315, allocations: 2.001 MB / 0.5557 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.4339, allocations: 1.195 MB / 0.5568 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.4367, allocations: 1.74 MB / 0.5585 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005701/0.4373, allocations: 236 kB / 0.5588 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.4393, allocations: 0.8113 MB / 0.5596 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.4411, allocations: 1.566 MB / 0.5611 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.4434, allocations: 1.879 MB / 0.5629 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007867/0.4513, allocations: 6.058 MB / 0.5688 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4514, allocations: 0 / 0.5688 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4514, allocations: 0 / 0.5688 GB, free: 10.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002044/0.4516, allocations: 0 / 0.5688 GB, free: 10.82 MB / 430.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.009646/0.4613, allocations: 4.031 MB / 0.5728 GB, free: 6.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4613, allocations: 8.031 kB / 0.5728 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.4716, allocations: 3.068 MB / 0.5758 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/0.4763, allocations: 1.905 MB / 0.5776 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4765, allocations: 185 kB / 0.5778 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009702/0.4775, allocations: 247.8 kB / 0.5781 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.4967, allocations: 10.18 MB / 0.588 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.4969, allocations: 35.7 kB / 0.588 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.4981, allocations: 115.8 kB / 0.5881 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/0.5024, allocations: 2.467 MB / 0.5905 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.5231, allocations: 9.345 MB / 0.5997 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/0.579, allocations: 31.45 MB / 0.6304 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/0.5852, allocations: 3.355 MB / 0.6337 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.587, allocations: 1.072 MB / 0.6347 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.5883, allocations: 1.31 MB / 0.636 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5883, allocations: 47.81 kB / 0.636 GB, free: 4.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.619e-06/0.5883, allocations: 0 / 0.636 GB, free: 4.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02125/0.6096, allocations: 9.096 MB / 0.6449 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.6097, allocations: 68.72 kB / 0.645 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/0.6155, allocations: 2.606 MB / 0.6475 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.6158, allocations: 53.7 kB / 0.6476 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/0.6185, allocations: 2.654 MB / 0.6502 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6195, allocations: 0.7093 MB / 0.6509 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/0.6217, allocations: 0.9646 MB / 0.6518 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6219, allocations: 313 kB / 0.6521 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.6247, allocations: 1.552 MB / 0.6536 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/0.6299, allocations: 4.387 MB / 0.6579 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009517/0.6395, allocations: 6.563 MB / 0.6643 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.6396, allocations: 28 kB / 0.6643 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01268/0.6523, allocations: 5.847 MB / 0.6701 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.6525, allocations: 51.98 kB / 0.6701 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/0.6527, allocations: 100 kB / 0.6702 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.6531, allocations: 172.9 kB / 0.6704 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.6574, allocations: 1.076 MB / 0.6714 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.66, allocations: 1.801 MB / 0.6732 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/0.6639, allocations: 211.9 kB / 0.6734 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.665, allocations: 295.9 kB / 0.6737 GB, free: 10.45 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.005101/0.6701, allocations: 1.985 MB / 0.6756 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00079/0.6709, allocations: 244.8 kB / 0.6758 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.6757, allocations: 2.533 MB / 0.6783 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/0.6757, allocations: 23.98 kB / 0.6783 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6758, allocations: 0 / 0.6783 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.6758, allocations: 11.98 kB / 0.6783 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6931, allocations: 7.933 MB / 0.6861 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/0.6932, allocations: 8 kB / 0.6861 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6942, allocations: 247.7 kB / 0.6863 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.6945, allocations: 56.83 kB / 0.6864 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.6946, allocations: 43.98 kB / 0.6864 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.6961, allocations: 1.618 MB / 0.688 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.6961, allocations: 15.94 kB / 0.688 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005733/0.7019, allocations: 4.019 MB / 0.6919 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/0.7029, allocations: 297.9 kB / 0.6922 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005692/0.7035, allocations: 40.06 kB / 0.6923 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.7047, allocations: 55.95 kB / 0.6923 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.705, allocations: 120.6 kB / 0.6924 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.7052, allocations: 72.16 kB / 0.6925 GB, free: 6.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00394/0.7091, allocations: 1.599 MB / 0.6941 GB, free: 4.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.264e-06/0.7091, allocations: 0 / 0.6941 GB, free: 4.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004857/0.714, allocations: 0.7811 MB / 0.6948 GB, free: 4.207 MB / 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.0006896/0.7147, allocations: 178.5 kB / 0.695 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007689/0.7224, allocations: 3.888 MB / 0.6988 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/0.7225, allocations: 0 / 0.6988 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.7247, allocations: 1.233 MB / 0.7 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.7275, allocations: 359.6 kB / 0.7003 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.7462, allocations: 8.419 MB / 0.7086 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005409/0.7517, allocations: 3.126 MB / 0.7116 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004277/0.756, allocations: 1.714 MB / 0.7133 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/0.7568, allocations: 183.4 kB / 0.7135 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.7568, allocations: 0 / 0.7135 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Templates: time 0.3721/1.129, allocations: 20.83 MB / 0.7338 GB, free: 177.6 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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) 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) Reference file matches