Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009825/0.0009825, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008386/0.0008387, allocations: 101 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1836/0.1836, allocations: 45.14 MB / 383.7 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.786e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 63.26 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.5655, allocations: 107.1 MB / 0.6089 GB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.5657, allocations: 71.16 kB / 0.609 GB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2158/0.7815, allocations: 90.21 MB / 0.6971 GB, free: 9.484 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7816, allocations: 0 / 0.6971 GB, free: 9.484 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.7817, allocations: 79.94 kB / 0.6972 GB, free: 9.406 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.00905/0.7908, allocations: 3.922 MB / 0.701 GB, free: 5.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.7908, allocations: 8.031 kB / 0.701 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.8063, allocations: 3.523 MB / 0.7045 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.8172, allocations: 3.749 MB / 0.7081 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8175, allocations: 136 kB / 0.7083 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.8194, allocations: 247.9 kB / 0.7085 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0127/0.8322, allocations: 7.565 MB / 0.7159 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.8505, allocations: 9.886 MB / 0.7255 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.8506, allocations: 31.72 kB / 0.7256 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/0.8511, allocations: 12 kB / 0.7256 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001514/0.8527, allocations: 1.219 MB / 0.7268 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.229, allocations: 34.51 MB / 0.7605 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005847/1.235, allocations: 4.361 MB / 0.7647 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.238, allocations: 2.332 MB / 0.767 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.24, allocations: 1.319 MB / 0.7683 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.24, allocations: 51.5 kB / 0.7683 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 5.01e-06/1.24, allocations: 5.094 kB / 0.7683 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.02864/1.268, allocations: 15.58 MB / 0.7836 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.268, allocations: 77.28 kB / 0.7836 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/1.271, allocations: 2.275 MB / 0.7859 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.271, allocations: 25.7 kB / 0.7859 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.272, allocations: 2.861 MB / 0.7887 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000681/1.273, allocations: 0.9019 MB / 0.7896 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.273, allocations: 1.688 kB / 0.7896 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002463/1.274, allocations: 0.5493 MB / 0.7901 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.276, allocations: 2.215 MB / 0.7923 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/1.28, allocations: 5.325 MB / 0.7975 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/1.283, allocations: 3.468 MB / 0.8008 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/1.283, allocations: 29.5 kB / 0.8009 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01118/1.294, allocations: 7.749 MB / 0.8084 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/1.295, allocations: 52.47 kB / 0.8085 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.611e-05/1.295, allocations: 110 kB / 0.8086 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/1.297, allocations: 0.9554 MB / 0.8095 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.301, allocations: 1.298 MB / 0.8108 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005009/1.306, allocations: 4.547 MB / 0.8152 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/1.31, allocations: 202.6 kB / 0.8154 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/1.31, allocations: 332.6 kB / 0.8157 GB, free: 109 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (696): * Single equations (assignments): 689 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007157/1.311, allocations: 387.2 kB / 0.8161 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/1.311, allocations: 268.5 kB / 0.8164 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/1.318, allocations: 4.934 MB / 0.8212 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/1.318, allocations: 49.98 kB / 0.8212 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.318, allocations: 5.984 kB / 0.8212 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.319, allocations: 13.52 kB / 0.8213 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/1.334, allocations: 10.75 MB / 0.8318 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.335, allocations: 15.03 kB / 0.8318 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.336, allocations: 401.8 kB / 0.8322 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/1.338, allocations: 0.768 MB / 0.8329 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.338, allocations: 26 kB / 0.8329 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/1.343, allocations: 3.858 MB / 0.8367 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.343, allocations: 15.94 kB / 0.8367 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008611/1.351, allocations: 8.302 MB / 0.8448 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/1.352, allocations: 317.3 kB / 0.8451 GB, free: 92.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/1.352, allocations: 18.47 kB / 0.8451 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.354, allocations: 111.4 kB / 0.8452 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.354, allocations: 156 kB / 0.8454 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.354, allocations: 75.61 kB / 0.8455 GB, free: 91.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001835/1.356, allocations: 1.486 MB / 0.8469 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/1.356, allocations: 0 / 0.8469 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003789/1.36, allocations: 0.8665 MB / 0.8478 GB, free: 89.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003819/1.36, allocations: 175.2 kB / 0.8479 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005971/1.366, allocations: 5.393 MB / 0.8532 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.366, allocations: 0 / 0.8532 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.368, allocations: 2.075 MB / 0.8552 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.369, allocations: 248.9 kB / 0.8555 GB, free: 82.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.38, allocations: 8.48 MB / 0.8637 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003066/1.384, allocations: 3.465 MB / 0.8671 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004896/1.388, allocations: 2.087 MB / 0.8692 GB, free: 70.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/1.389, allocations: 206.9 kB / 0.8694 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/1.389, allocations: 4 kB / 0.8694 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.04469/1.434, allocations: 27.82 MB / 0.8965 GB, free: 48.62 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches