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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 201.4 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007529/0.0007529, allocations: 105.9 kB / 297.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3211/0.3211, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 62.95 MB / 0.5184 GB, free: 37.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4703, allocations: 104.2 MB / 0.6202 GB, free: 1.016 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.4706, allocations: 75.95 kB / 0.6203 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5606/1.031, allocations: 84.16 MB / 0.7025 GB, free: 101.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.047e-06/1.031, allocations: 0 / 0.7025 GB, free: 101.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003285/1.032, allocations: 75.72 kB / 0.7025 GB, free: 101.2 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.0152/1.047, allocations: 3.532 MB / 0.706 GB, free: 99.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.047, allocations: 9.312 kB / 0.706 GB, free: 99.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/1.062, allocations: 3.457 MB / 0.7094 GB, free: 99.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00823/1.07, allocations: 2.855 MB / 0.7122 GB, free: 98.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/1.07, allocations: 290.9 kB / 0.7124 GB, free: 98.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/1.073, allocations: 377.8 kB / 0.7128 GB, free: 98.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/1.101, allocations: 9.732 MB / 0.7223 GB, free: 96.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/1.101, allocations: 23.5 kB / 0.7223 GB, free: 96.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002286/1.104, allocations: 187.3 kB / 0.7225 GB, free: 96.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/1.105, allocations: 1.117 MB / 0.7236 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/1.122, allocations: 9.283 MB / 0.7327 GB, free: 93.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/1.16, allocations: 31.66 MB / 0.7636 GB, free: 73.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/1.165, allocations: 3.35 MB / 0.7668 GB, free: 71.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/1.166, allocations: 1.059 MB / 0.7679 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008421/1.167, allocations: 1.308 MB / 0.7692 GB, free: 70.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.167, allocations: 43.88 kB / 0.7692 GB, free: 70.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 3.888e-06/1.167, allocations: 4 kB / 0.7692 GB, free: 70.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.0163/1.183, allocations: 9.063 MB / 0.7781 GB, free: 62.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.183, allocations: 68.72 kB / 0.7781 GB, free: 62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/1.186, allocations: 2.604 MB / 0.7807 GB, free: 59.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/1.186, allocations: 49.7 kB / 0.7807 GB, free: 59.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.187, allocations: 2.668 MB / 0.7833 GB, free: 57.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/1.188, allocations: 0.7036 MB / 0.784 GB, free: 56.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.188, allocations: 88 kB / 0.7841 GB, free: 56.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/1.188, allocations: 0.5165 MB / 0.7846 GB, free: 56.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/1.19, allocations: 1.519 MB / 0.7861 GB, free: 54.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/1.193, allocations: 4.357 MB / 0.7903 GB, free: 49.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005195/1.198, allocations: 6.537 MB / 0.7967 GB, free: 41.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.367e-05/1.198, allocations: 28 kB / 0.7967 GB, free: 41.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.007896/1.206, allocations: 5.788 MB / 0.8024 GB, free: 35.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/1.206, allocations: 58.06 kB / 0.8024 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-05/1.206, allocations: 104.1 kB / 0.8025 GB, free: 35.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/1.206, allocations: 180.5 kB / 0.8027 GB, free: 35.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.209, allocations: 1.064 MB / 0.8038 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.21, allocations: 1.667 MB / 0.8054 GB, free: 32.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/1.213, allocations: 207.9 kB / 0.8056 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/1.213, allocations: 296 kB / 0.8059 GB, free: 32.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 584 * 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.003788/1.217, allocations: 2 MB / 0.8078 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/1.218, allocations: 252.6 kB / 0.8081 GB, free: 29.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/1.221, allocations: 2.514 MB / 0.8105 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.221, allocations: 23.36 kB / 0.8105 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.221, allocations: 4 kB / 0.8105 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.221, allocations: 7.969 kB / 0.8105 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.232, allocations: 7.984 MB / 0.8183 GB, free: 19.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.232, allocations: 12 kB / 0.8184 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009652/1.233, allocations: 251.6 kB / 0.8186 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/1.233, allocations: 56.83 kB / 0.8186 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.233, allocations: 43.98 kB / 0.8187 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/1.234, allocations: 1.487 MB / 0.8201 GB, free: 17.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.234, allocations: 19.92 kB / 0.8202 GB, free: 17.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/1.239, allocations: 4.021 MB / 0.8241 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/1.24, allocations: 297.9 kB / 0.8244 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.24, allocations: 35.94 kB / 0.8244 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/1.241, allocations: 59.94 kB / 0.8245 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.241, allocations: 123.9 kB / 0.8246 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.241, allocations: 60 kB / 0.8246 GB, free: 12.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002368/1.243, allocations: 1.583 MB / 0.8262 GB, free: 10.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.243, allocations: 0 / 0.8262 GB, free: 10.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004599/1.248, allocations: 0.8111 MB / 0.827 GB, free: 9.906 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.0005088/1.248, allocations: 193.7 kB / 0.8272 GB, free: 9.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005801/1.254, allocations: 3.81 MB / 0.8309 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.254, allocations: 4 kB / 0.8309 GB, free: 5.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.256, allocations: 1.229 MB / 0.8321 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.261, allocations: 341.3 kB / 0.8324 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.279, allocations: 10.22 MB / 0.8424 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004853/1.284, allocations: 3.14 MB / 0.8455 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004875/1.289, allocations: 1.71 MB / 0.8471 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/1.29, allocations: 183.4 kB / 0.8473 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of SimCode: time 2.174e-06/1.29, allocations: 3.938 kB / 0.8473 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.04929/1.339, allocations: 21.9 MB / 0.8687 GB, free: 15.25 MB / 0.5261 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches