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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 111 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 202.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3151, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01425/0.3293, allocations: 13.52 MB / 0.5449 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00984/0.3392, allocations: 4.166 MB / 0.5489 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.3418, allocations: 72.19 kB / 0.549 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.3455, allocations: 1.81 MB / 0.5508 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.3506, allocations: 1.813 MB / 0.5525 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3521, allocations: 0.5498 MB / 0.5531 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.3574, allocations: 3.902 MB / 0.5569 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.3612, allocations: 2.685 MB / 0.5595 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.3634, allocations: 1.374 MB / 0.5608 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.3662, allocations: 1.943 MB / 0.5627 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.3671, allocations: 292 kB / 0.563 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.3694, allocations: 0.9986 MB / 0.564 GB, free: 488 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.3714, allocations: 1.742 MB / 0.5657 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003303/0.3747, allocations: 2.1 MB / 0.5678 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007489/0.3822, allocations: 6.88 MB / 0.5745 GB, free: 5.715 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3822, allocations: 0 / 0.5745 GB, free: 5.715 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3822, allocations: 0 / 0.5745 GB, free: 5.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.3824, allocations: 0 / 0.5745 GB, free: 5.715 MB / 430.1 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.009483/0.3919, allocations: 4.528 MB / 0.5789 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.392, allocations: 8.031 kB / 0.5789 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.4022, allocations: 3.114 MB / 0.5819 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/0.4069, allocations: 2.116 MB / 0.584 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.4071, allocations: 213.8 kB / 0.5842 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009181/0.408, allocations: 299.6 kB / 0.5845 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4256, allocations: 11.12 MB / 0.5954 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.4258, allocations: 27.72 kB / 0.5954 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000773/0.4266, allocations: 127.8 kB / 0.5955 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004126/0.4307, allocations: 2.624 MB / 0.5981 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.4491, allocations: 10.38 MB / 0.6082 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05071/0.4998, allocations: 36.46 MB / 0.6438 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008681/0.5085, allocations: 4.571 MB / 0.6483 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.5117, allocations: 2.392 MB / 0.6506 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.513, allocations: 1.315 MB / 0.6519 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.513, allocations: 60.48 kB / 0.652 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.212e-06/0.513, allocations: 0 / 0.652 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04023/0.5533, allocations: 17.59 MB / 0.6691 GB, free: 2.707 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5533, allocations: 77.41 kB / 0.6692 GB, free: 2.621 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/0.5573, allocations: 2.73 MB / 0.6719 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.5575, allocations: 61.7 kB / 0.6719 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.5593, allocations: 2.779 MB / 0.6746 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007965/0.5601, allocations: 0.9056 MB / 0.6755 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.5616, allocations: 1.076 MB / 0.6766 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.5617, allocations: 305.1 kB / 0.6769 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00318/0.5649, allocations: 2.314 MB / 0.6791 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005355/0.5703, allocations: 5.222 MB / 0.6842 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009785/0.5801, allocations: 8.276 MB / 0.6923 GB, free: 8.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.5802, allocations: 28 kB / 0.6923 GB, free: 7.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01514/0.5954, allocations: 8.305 MB / 0.7004 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.835e-05/0.5955, allocations: 50.66 kB / 0.7005 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.5956, allocations: 100 kB / 0.7006 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.5984, allocations: 0.9413 MB / 0.7015 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.6026, allocations: 1.22 MB / 0.7027 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.6093, allocations: 5.137 MB / 0.7077 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.6129, allocations: 303.8 kB / 0.708 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.6139, allocations: 308 kB / 0.7083 GB, free: 7.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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.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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004241/0.6182, allocations: 2.147 MB / 0.7104 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.6187, allocations: 276.4 kB / 0.7107 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2531/0.8718, allocations: 5.12 MB / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.663e-05/0.8719, allocations: 12.45 kB / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8719, allocations: 0 / 0.7157 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.8725, allocations: 313.3 kB / 0.716 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/0.8731, allocations: 33.03 kB / 0.716 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.8742, allocations: 141.8 kB / 0.7161 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.8745, allocations: 127.4 kB / 0.7163 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008289/0.8828, allocations: 4.575 MB / 0.7207 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007599/0.8904, allocations: 6.715 MB / 0.7273 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001715/0.8922, allocations: 1.869 MB / 0.7291 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001811/0.894, allocations: 1.673 MB / 0.7307 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of Backend: time 3.2e-07/0.894, allocations: 2.375 kB / 0.7307 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005908/0.8999, allocations: 4.203 MB / 0.7349 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01132/0.9113, allocations: 8.956 MB / 0.7436 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06253/0.9738, allocations: 43.97 MB / 0.7865 GB, free: 107.5 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches