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.001565/0.001565, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001103/0.001103, allocations: 92.52 kB / 270.9 MB, free: 8.395 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.5062/0.5062, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.000469, allocations: 12 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6077, allocations: 101.9 MB / 0.5783 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6081, allocations: 83.95 kB / 0.5783 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3708/0.9789, allocations: 85.48 MB / 0.6618 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9789, allocations: 0 / 0.6618 GB, free: 10.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002265/0.9792, allocations: 79.92 kB / 0.6619 GB, free: 10.52 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.01469/0.9939, allocations: 3.658 MB / 0.6655 GB, free: 6.793 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.9939, allocations: 11.88 kB / 0.6655 GB, free: 6.785 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02813/1.022, allocations: 3.508 MB / 0.6689 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3476/1.37, allocations: 4.216 MB / 0.673 GB, free: 96.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005636/1.37, allocations: 291.7 kB / 0.6733 GB, free: 96.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002786/1.373, allocations: 389.1 kB / 0.6737 GB, free: 96.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03307/1.406, allocations: 9.957 MB / 0.6834 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/1.407, allocations: 29.53 kB / 0.6834 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/1.409, allocations: 179.2 kB / 0.6836 GB, free: 95.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/1.412, allocations: 1.171 MB / 0.6847 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.44, allocations: 9.433 MB / 0.694 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0714/1.511, allocations: 32.54 MB / 0.7257 GB, free: 78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009783/1.521, allocations: 3.353 MB / 0.729 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/1.523, allocations: 1.308 MB / 0.7303 GB, free: 75.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/1.523, allocations: 57.61 kB / 0.7303 GB, free: 74.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=187): time 6.091e-06/1.523, allocations: 0 / 0.7303 GB, free: 74.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.03655/1.559, allocations: 10.3 MB / 0.7404 GB, free: 70.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.56, allocations: 90.23 kB / 0.7405 GB, free: 70.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00512/1.565, allocations: 2.376 MB / 0.7428 GB, free: 69.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003974/1.565, allocations: 49.42 kB / 0.7429 GB, free: 69.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002239/1.567, allocations: 2.742 MB / 0.7455 GB, free: 67.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.569, allocations: 0.7031 MB / 0.7462 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006151/1.569, allocations: 100.2 kB / 0.7463 GB, free: 67.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004528/1.57, allocations: 0.5243 MB / 0.7468 GB, free: 66.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.574, allocations: 1.536 MB / 0.7483 GB, free: 66.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/1.58, allocations: 4.435 MB / 0.7527 GB, free: 61.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005877/1.586, allocations: 2.639 MB / 0.7552 GB, free: 60.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.586, allocations: 29.06 kB / 0.7553 GB, free: 60.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.0148/1.6, allocations: 5.826 MB / 0.7609 GB, free: 58.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/1.601, allocations: 56.52 kB / 0.761 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.601, allocations: 101.5 kB / 0.7611 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004398/1.601, allocations: 195.1 kB / 0.7613 GB, free: 58.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006545/1.608, allocations: 1.091 MB / 0.7623 GB, free: 58.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/1.61, allocations: 1.699 MB / 0.764 GB, free: 57.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/1.614, allocations: 219.3 kB / 0.7642 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.615, allocations: 299.8 kB / 0.7645 GB, free: 57.06 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.00519/1.621, allocations: 2.026 MB / 0.7665 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/1.621, allocations: 255.6 kB / 0.7667 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/1.628, allocations: 2.524 MB / 0.7692 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/1.628, allocations: 19.28 kB / 0.7692 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.628, allocations: 3.969 kB / 0.7692 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.628, allocations: 7.875 kB / 0.7692 GB, free: 55.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.65, allocations: 8.184 MB / 0.7772 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.65, allocations: 10.62 kB / 0.7772 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.652, allocations: 261.3 kB / 0.7775 GB, free: 52.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002675/1.652, allocations: 57.28 kB / 0.7775 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.653, allocations: 43.44 kB / 0.7776 GB, free: 51.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.654, allocations: 1.516 MB / 0.779 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/1.654, allocations: 15.5 kB / 0.7791 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/1.663, allocations: 4.908 MB / 0.7839 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.665, allocations: 0.5027 MB / 0.7843 GB, free: 47.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/1.666, allocations: 41.94 kB / 0.7844 GB, free: 47.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.667, allocations: 65.86 kB / 0.7845 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/1.668, allocations: 130 kB / 0.7846 GB, free: 47.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.668, allocations: 64.72 kB / 0.7846 GB, free: 47.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003833/1.672, allocations: 1.618 MB / 0.7862 GB, free: 46.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.672, allocations: 0 / 0.7862 GB, free: 46.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00571/1.678, allocations: 0.8304 MB / 0.787 GB, free: 45.71 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.0007633/1.678, allocations: 183.8 kB / 0.7872 GB, free: 45.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008459/1.687, allocations: 3.861 MB / 0.791 GB, free: 42.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.687, allocations: 4 kB / 0.791 GB, free: 42.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/1.69, allocations: 1.23 MB / 0.7922 GB, free: 41.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.692, allocations: 312.2 kB / 0.7925 GB, free: 40.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.717, allocations: 10.88 MB / 0.8031 GB, free: 30.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00722/1.724, allocations: 3.295 MB / 0.8063 GB, free: 28.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.725, allocations: 226 kB / 0.8065 GB, free: 27.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/1.725, allocations: 0 / 0.8065 GB, free: 27.88 MB / 490.7 MB Notification: Performance of Templates: time 0.4652/2.191, allocations: 63.73 MB / 0.8688 GB, free: 98.81 MB / 0.4949 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