Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001027/0.001027, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.549/1.549, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009823/0.0009821, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 58.87 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.6025, allocations: 101.9 MB / 0.5783 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.6028, allocations: 84.52 kB / 0.5784 GB, free: 14.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2265/0.8294, allocations: 85.48 MB / 0.6618 GB, free: 380 kB / 458.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8294, allocations: 0 / 0.6618 GB, free: 380 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002621/0.8297, allocations: 72 kB / 0.6619 GB, free: 308 kB / 458.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.01652/0.8462, allocations: 3.67 MB / 0.6655 GB, free: 12.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.8463, allocations: 8.031 kB / 0.6655 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.8625, allocations: 3.504 MB / 0.6689 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/0.8782, allocations: 4.225 MB / 0.673 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006874/0.8789, allocations: 299.7 kB / 0.6733 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004107/0.8831, allocations: 391.8 kB / 0.6737 GB, free: 4.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.9137, allocations: 9.963 MB / 0.6834 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/0.914, allocations: 23.81 kB / 0.6835 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002661/0.9167, allocations: 179.9 kB / 0.6836 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.9189, allocations: 1.168 MB / 0.6848 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.9413, allocations: 9.44 MB / 0.694 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4076/1.349, allocations: 32.53 MB / 0.7258 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007029/1.356, allocations: 3.357 MB / 0.729 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/1.357, allocations: 1.307 MB / 0.7303 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.357, allocations: 50.72 kB / 0.7304 GB, free: 107 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 5.32e-06/1.358, allocations: 0.5 kB / 0.7304 GB, free: 107 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.02479/1.382, allocations: 10.3 MB / 0.7404 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/1.382, allocations: 89.8 kB / 0.7405 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.386, allocations: 2.37 MB / 0.7428 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.687e-05/1.386, allocations: 49.14 kB / 0.7429 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.388, allocations: 2.744 MB / 0.7455 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005666/1.388, allocations: 0.7142 MB / 0.7462 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.388, allocations: 97.61 kB / 0.7463 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.389, allocations: 0.5135 MB / 0.7468 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/1.39, allocations: 1.54 MB / 0.7483 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/1.394, allocations: 4.433 MB / 0.7527 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/1.397, allocations: 2.633 MB / 0.7552 GB, free: 98.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/1.397, allocations: 32.19 kB / 0.7553 GB, free: 98.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=656) (initialization): time 0.007825/1.405, allocations: 5.894 MB / 0.761 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/1.405, allocations: 52.88 kB / 0.7611 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.84e-05/1.405, allocations: 104.6 kB / 0.7612 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/1.405, allocations: 184.8 kB / 0.7614 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/1.408, allocations: 1.101 MB / 0.7624 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/1.409, allocations: 1.689 MB / 0.7641 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.412, allocations: 215.4 kB / 0.7643 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/1.413, allocations: 300.6 kB / 0.7646 GB, free: 96.36 MB / 0.4948 GB 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.003767/1.417, allocations: 2.035 MB / 0.7666 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/1.417, allocations: 248.6 kB / 0.7668 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/1.42, allocations: 2.525 MB / 0.7693 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.42, allocations: 21.78 kB / 0.7693 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.42, allocations: 0 / 0.7693 GB, free: 94.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.42, allocations: 25 kB / 0.7693 GB, free: 94.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.434, allocations: 8.173 MB / 0.7773 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/1.434, allocations: 16.67 kB / 0.7773 GB, free: 91.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009074/1.435, allocations: 255.9 kB / 0.7775 GB, free: 91.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/1.435, allocations: 61.33 kB / 0.7776 GB, free: 91.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/1.435, allocations: 46.78 kB / 0.7777 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/1.436, allocations: 1.514 MB / 0.7791 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.436, allocations: 18.25 kB / 0.7791 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004822/1.441, allocations: 4.91 MB / 0.7839 GB, free: 87.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.442, allocations: 0.5041 MB / 0.7844 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.442, allocations: 42.64 kB / 0.7845 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/1.443, allocations: 53.78 kB / 0.7845 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/1.443, allocations: 123.5 kB / 0.7846 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.444, allocations: 63.88 kB / 0.7847 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002464/1.446, allocations: 1.622 MB / 0.7863 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/1.446, allocations: 0 / 0.7863 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005845/1.452, allocations: 0.8293 MB / 0.7871 GB, free: 86.53 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 () * 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.0004286/1.452, allocations: 182.1 kB / 0.7873 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005512/1.458, allocations: 3.86 MB / 0.791 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.458, allocations: 3.344 kB / 0.791 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.459, allocations: 1.24 MB / 0.7923 GB, free: 84.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/1.461, allocations: 303.6 kB / 0.7925 GB, free: 84.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.478, allocations: 10.43 MB / 0.8027 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.481, allocations: 3.279 MB / 0.8059 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00384/1.485, allocations: 1.735 MB / 0.8076 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/1.485, allocations: 186.7 kB / 0.8078 GB, free: 75.11 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/1.485, allocations: 4 kB / 0.8078 GB, free: 75.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.04292/1.528, allocations: 22.03 MB / 0.8293 GB, free: 61.41 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches