Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 169.9 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 92.48 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.363e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5417, allocations: 102.6 MB / 0.5949 GB, free: 9.828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5421, allocations: 75.95 kB / 0.595 GB, free: 9.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2634/0.8055, allocations: 83.48 MB / 0.6765 GB, free: 5.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.8055, allocations: 0 / 0.6765 GB, free: 5.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002223/0.8058, allocations: 72 kB / 0.6766 GB, free: 5.512 MB / 490.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.01209/0.8179, allocations: 3.443 MB / 0.6799 GB, free: 2.008 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.8179, allocations: 15.92 kB / 0.68 GB, free: 1.992 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.8336, allocations: 3.485 MB / 0.6834 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.8457, allocations: 4.034 MB / 0.6873 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.846, allocations: 120 kB / 0.6874 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.8483, allocations: 216 kB / 0.6876 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01359/0.862, allocations: 6.911 MB / 0.6944 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3217/1.184, allocations: 9.048 MB / 0.7032 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/1.184, allocations: 25.75 kB / 0.7032 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.185, allocations: 13.41 kB / 0.7032 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/1.187, allocations: 1.13 MB / 0.7043 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0508/1.238, allocations: 29.11 MB / 0.7328 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/1.241, allocations: 2.921 MB / 0.7356 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/1.242, allocations: 1.026 MB / 0.7366 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009122/1.243, allocations: 1.306 MB / 0.7379 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.243, allocations: 53.44 kB / 0.7379 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 3.646e-06/1.243, allocations: 0 / 0.7379 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.01318/1.256, allocations: 7.271 MB / 0.745 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.256, allocations: 66.91 kB / 0.7451 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/1.259, allocations: 2.21 MB / 0.7473 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.259, allocations: 32.89 kB / 0.7473 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.261, allocations: 2.757 MB / 0.75 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/1.261, allocations: 0.6965 MB / 0.7507 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.261, allocations: 0 / 0.7507 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002921/1.262, allocations: 0.5805 MB / 0.7512 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.263, allocations: 1.475 MB / 0.7527 GB, free: 97.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/1.267, allocations: 4.517 MB / 0.7571 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/1.27, allocations: 2.638 MB / 0.7597 GB, free: 92.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.735e-05/1.27, allocations: 32.88 kB / 0.7597 GB, free: 92.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.00849/1.278, allocations: 5.393 MB / 0.765 GB, free: 90.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/1.278, allocations: 54.19 kB / 0.765 GB, free: 90.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/1.279, allocations: 108.4 kB / 0.7651 GB, free: 90.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/1.279, allocations: 201.4 kB / 0.7653 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/1.282, allocations: 1.149 MB / 0.7664 GB, free: 90.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/1.284, allocations: 1.625 MB / 0.768 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/1.287, allocations: 128.4 kB / 0.7681 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006209/1.287, allocations: 312.1 kB / 0.7684 GB, free: 89.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007161/1.288, allocations: 380.4 kB / 0.7688 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/1.289, allocations: 252.8 kB / 0.769 GB, free: 88.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/1.292, allocations: 2.415 MB / 0.7714 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.292, allocations: 19.91 kB / 0.7714 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.292, allocations: 7.922 kB / 0.7714 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.292, allocations: 6.422 kB / 0.7714 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.303, allocations: 6.751 MB / 0.778 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.303, allocations: 10.53 kB / 0.778 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009784/1.304, allocations: 254.4 kB / 0.7783 GB, free: 85.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/1.304, allocations: 55.66 kB / 0.7783 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/1.304, allocations: 28.69 kB / 0.7784 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008751/1.305, allocations: 1.427 MB / 0.7798 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.305, allocations: 16.38 kB / 0.7798 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/1.31, allocations: 4.776 MB / 0.7844 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/1.311, allocations: 295.2 kB / 0.7847 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/1.311, allocations: 19.08 kB / 0.7847 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/1.312, allocations: 36 kB / 0.7848 GB, free: 80.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.312, allocations: 120.3 kB / 0.7849 GB, free: 80.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.312, allocations: 68.95 kB / 0.785 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002533/1.315, allocations: 1.441 MB / 0.7864 GB, free: 80.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.315, allocations: 0 / 0.7864 GB, free: 80.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004663/1.32, allocations: 0.7 MB / 0.787 GB, free: 80.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000472/1.32, allocations: 168.4 kB / 0.7872 GB, free: 80.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005062/1.325, allocations: 3.669 MB / 0.7908 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.325, allocations: 0.6875 kB / 0.7908 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/1.326, allocations: 1.192 MB / 0.792 GB, free: 76.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.328, allocations: 224.9 kB / 0.7922 GB, free: 76.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.34, allocations: 7.004 MB / 0.799 GB, free: 69.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002899/1.343, allocations: 3.213 MB / 0.8021 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004124/1.347, allocations: 1.826 MB / 0.8039 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/1.347, allocations: 183.2 kB / 0.8041 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/1.347, allocations: 0 / 0.8041 GB, free: 65.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.03734/1.385, allocations: 19.02 MB / 0.8227 GB, free: 51.73 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches