Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00209/0.00209, allocations: 180.9 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 90.72 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4895/0.4895, allocations: 43.56 MB / 363.8 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005299, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.6456, allocations: 102 MB / 0.5796 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.6461, allocations: 83.94 kB / 0.5797 GB, free: 252 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.9681, allocations: 84.42 MB / 0.6621 GB, free: 11.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.9682, allocations: 0 / 0.6621 GB, free: 11.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002639/0.9684, allocations: 75.94 kB / 0.6622 GB, free: 11.12 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.0174/0.9859, allocations: 3.611 MB / 0.6657 GB, free: 7.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.986, allocations: 12.02 kB / 0.6657 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/1.009, allocations: 3.474 MB / 0.6691 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/1.021, allocations: 3.118 MB / 0.6721 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006176/1.022, allocations: 308 kB / 0.6724 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003427/1.025, allocations: 392.1 kB / 0.6728 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3634/1.389, allocations: 9.918 MB / 0.6825 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/1.389, allocations: 27.62 kB / 0.6825 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002992/1.392, allocations: 179.9 kB / 0.6827 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002842/1.395, allocations: 1.165 MB / 0.6838 GB, free: 96.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/1.422, allocations: 9.366 MB / 0.693 GB, free: 96.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07106/1.493, allocations: 32.52 MB / 0.7247 GB, free: 79.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009622/1.503, allocations: 3.349 MB / 0.728 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/1.506, allocations: 1.074 MB / 0.729 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/1.507, allocations: 1.315 MB / 0.7303 GB, free: 76.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.508, allocations: 49.59 kB / 0.7304 GB, free: 75.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=187): time 1.16e-05/1.508, allocations: 0 / 0.7304 GB, free: 75.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.03268/1.54, allocations: 9.766 MB / 0.7399 GB, free: 72.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/1.54, allocations: 96.64 kB / 0.74 GB, free: 72.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/1.546, allocations: 2.655 MB / 0.7426 GB, free: 71.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003605/1.546, allocations: 53.45 kB / 0.7427 GB, free: 71.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/1.548, allocations: 2.749 MB / 0.7453 GB, free: 69.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.549, allocations: 0.7097 MB / 0.746 GB, free: 68.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/1.549, allocations: 94.53 kB / 0.7461 GB, free: 68.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003437/1.55, allocations: 0.5216 MB / 0.7466 GB, free: 68.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.553, allocations: 1.537 MB / 0.7481 GB, free: 67.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/1.559, allocations: 4.452 MB / 0.7525 GB, free: 63.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009911/1.569, allocations: 6.659 MB / 0.759 GB, free: 57.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/1.569, allocations: 31.22 kB / 0.759 GB, free: 57.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.0155/1.585, allocations: 5.891 MB / 0.7648 GB, free: 55.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.585, allocations: 51.22 kB / 0.7648 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.585, allocations: 105.8 kB / 0.7649 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/1.586, allocations: 179.9 kB / 0.7651 GB, free: 55.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.591, allocations: 1.105 MB / 0.7662 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.593, allocations: 1.668 MB / 0.7678 GB, free: 54.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.599, allocations: 218.9 kB / 0.768 GB, free: 54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.6, allocations: 298.8 kB / 0.7683 GB, free: 53.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 27 (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 (604): * Single equations (assignments): 597 * 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.005746/1.606, allocations: 2.029 MB / 0.7703 GB, free: 53.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/1.606, allocations: 251.3 kB / 0.7705 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/1.612, allocations: 2.527 MB / 0.773 GB, free: 52.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/1.612, allocations: 25.09 kB / 0.773 GB, free: 52.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.612, allocations: 0 / 0.773 GB, free: 52.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.612, allocations: 11.3 kB / 0.773 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.631, allocations: 8.189 MB / 0.781 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.631, allocations: 14.78 kB / 0.781 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.632, allocations: 252.1 kB / 0.7813 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/1.632, allocations: 62 kB / 0.7813 GB, free: 48.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.633, allocations: 44.5 kB / 0.7814 GB, free: 48.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/1.634, allocations: 1.502 MB / 0.7828 GB, free: 47.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.634, allocations: 14.03 kB / 0.7828 GB, free: 47.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006783/1.641, allocations: 4.05 MB / 0.7868 GB, free: 45.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.642, allocations: 0.5058 MB / 0.7873 GB, free: 45.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/1.643, allocations: 38.27 kB / 0.7873 GB, free: 45.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.644, allocations: 62.19 kB / 0.7874 GB, free: 45.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.644, allocations: 117.3 kB / 0.7875 GB, free: 45.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.645, allocations: 70.28 kB / 0.7876 GB, free: 45.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00351/1.648, allocations: 1.618 MB / 0.7891 GB, free: 43.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.648, allocations: 0 / 0.7891 GB, free: 43.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006454/1.655, allocations: 0.8206 MB / 0.79 GB, free: 43.05 MB / 490.7 MB 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 () * Number of clocked 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.0006521/1.655, allocations: 197.9 kB / 0.7901 GB, free: 42.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008135/1.663, allocations: 3.855 MB / 0.7939 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/1.664, allocations: 0 / 0.7939 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.666, allocations: 1.244 MB / 0.7951 GB, free: 38.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007839/1.674, allocations: 336.4 kB / 0.7954 GB, free: 38.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/1.697, allocations: 10.92 MB / 0.8061 GB, free: 27.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007184/1.705, allocations: 3.205 MB / 0.8092 GB, free: 25.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.706, allocations: 236 kB / 0.8095 GB, free: 25.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.706, allocations: 0 / 0.8095 GB, free: 25.14 MB / 490.7 MB Notification: Performance of Templates: time 0.4451/2.151, allocations: 65.48 MB / 0.8734 GB, free: 113.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches