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.001266/0.001266, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008222/0.0008222, allocations: 101.8 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2797, allocations: 63.25 MB / 0.5192 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4006, allocations: 107.8 MB / 0.6245 GB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4009, allocations: 83.95 kB / 0.6246 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4275/0.8284, allocations: 91.86 MB / 0.7143 GB, free: 102.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.8284, allocations: 0 / 0.7143 GB, free: 102.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002034/0.8286, allocations: 74.28 kB / 0.7143 GB, free: 102.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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01308/0.8417, allocations: 4.063 MB / 0.7183 GB, free: 100.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.8418, allocations: 13.84 kB / 0.7183 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.8552, allocations: 3.53 MB / 0.7218 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009551/0.8648, allocations: 3.769 MB / 0.7255 GB, free: 98.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.865, allocations: 315.9 kB / 0.7258 GB, free: 98.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.8668, allocations: 423.9 kB / 0.7262 GB, free: 98.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.884, allocations: 10.74 MB / 0.7367 GB, free: 94.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.485e-05/0.8841, allocations: 30.22 kB / 0.7367 GB, free: 94.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005654/0.8847, allocations: 186.9 kB / 0.7369 GB, free: 94.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/0.886, allocations: 1.227 MB / 0.7381 GB, free: 93.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.9028, allocations: 10.38 MB / 0.7482 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03786/0.9407, allocations: 37 MB / 0.7843 GB, free: 56.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/0.948, allocations: 4.577 MB / 0.7888 GB, free: 51.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008231/0.9489, allocations: 1.317 MB / 0.7901 GB, free: 49.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.9489, allocations: 56.56 kB / 0.7901 GB, free: 49.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.899e-06/0.9489, allocations: 0 / 0.7901 GB, free: 49.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03003/0.9789, allocations: 17.86 MB / 0.8076 GB, free: 31.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.979, allocations: 73.41 kB / 0.8076 GB, free: 31.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.9815, allocations: 2.445 MB / 0.81 GB, free: 29.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.9816, allocations: 57.7 kB / 0.8101 GB, free: 29.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009202/0.9826, allocations: 2.771 MB / 0.8128 GB, free: 26.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.983, allocations: 0.9131 MB / 0.8137 GB, free: 25.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.9832, allocations: 104 kB / 0.8138 GB, free: 25.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.9835, allocations: 0.5374 MB / 0.8143 GB, free: 24.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.9858, allocations: 2.279 MB / 0.8165 GB, free: 22.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.9889, allocations: 5.164 MB / 0.8216 GB, free: 16.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.9922, allocations: 3.443 MB / 0.8249 GB, free: 12.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/0.9922, allocations: 28 kB / 0.825 GB, free: 12.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0102/1.002, allocations: 8.208 MB / 0.833 GB, free: 4.363 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/1.003, allocations: 50.66 kB / 0.833 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.981e-05/1.003, allocations: 100 kB / 0.8331 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/1.005, allocations: 0.9451 MB / 0.834 GB, free: 3.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/1.008, allocations: 1.22 MB / 0.8352 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/1.014, allocations: 4.86 MB / 0.84 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/1.018, allocations: 303 kB / 0.8403 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009167/1.019, allocations: 304 kB / 0.8406 GB, free: 12.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00425/1.023, allocations: 2.15 MB / 0.8427 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005078/1.024, allocations: 276.4 kB / 0.8429 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/1.032, allocations: 5.098 MB / 0.8479 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/1.032, allocations: 47.98 kB / 0.8479 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.032, allocations: 4 kB / 0.8479 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.032, allocations: 11.92 kB / 0.848 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/1.052, allocations: 11.91 MB / 0.8596 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.052, allocations: 15.94 kB / 0.8596 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.053, allocations: 399.3 kB / 0.86 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/1.055, allocations: 0.7776 MB / 0.8607 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/1.056, allocations: 52 kB / 0.8608 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/1.061, allocations: 4.138 MB / 0.8648 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.061, allocations: 15.94 kB / 0.8649 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/1.072, allocations: 8.423 MB / 0.8731 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/1.072, allocations: 337.4 kB / 0.8734 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.073, allocations: 47.36 kB / 0.8734 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.074, allocations: 139.8 kB / 0.8736 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.074, allocations: 152.9 kB / 0.8737 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.074, allocations: 75.98 kB / 0.8738 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002412/1.077, allocations: 1.669 MB / 0.8754 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.077, allocations: 0 / 0.8754 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003679/1.08, allocations: 0.9953 MB / 0.8764 GB, free: 7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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.0004186/1.081, allocations: 211 kB / 0.8766 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00715/1.088, allocations: 5.557 MB / 0.882 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.088, allocations: 0 / 0.882 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2261/1.314, allocations: 2.142 MB / 0.8841 GB, free: 138 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.316, allocations: 341.9 kB / 0.8844 GB, free: 138 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/1.333, allocations: 12.02 MB / 0.8962 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/1.336, allocations: 3.465 MB / 0.8996 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004189/1.34, allocations: 1.989 MB / 0.9015 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/1.341, allocations: 214.2 kB / 0.9017 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/1.341, allocations: 0 / 0.9017 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.05469/1.396, allocations: 31.52 MB / 0.9325 GB, free: 130.9 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