Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 108.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01471/0.3782, allocations: 13.56 MB / 0.5328 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.389, allocations: 4.159 MB / 0.5369 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.3922, allocations: 69.12 kB / 0.5369 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.3962, allocations: 1.815 MB / 0.5387 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.4025, allocations: 1.883 MB / 0.5406 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.4046, allocations: 0.5542 MB / 0.5411 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.4118, allocations: 3.874 MB / 0.5449 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.4167, allocations: 2.699 MB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.4198, allocations: 1.382 MB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.423, allocations: 1.958 MB / 0.5508 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.4241, allocations: 288 kB / 0.5511 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.4268, allocations: 1.006 MB / 0.552 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.4293, allocations: 1.765 MB / 0.5538 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.4332, allocations: 2.116 MB / 0.5558 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009086/0.4423, allocations: 6.95 MB / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.4424, allocations: 0 / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4424, allocations: 3.938 kB / 0.5626 GB, free: 15.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.4427, allocations: 0 / 0.5626 GB, free: 15.82 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.01224/0.4549, allocations: 4.559 MB / 0.5671 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.455, allocations: 8.031 kB / 0.5671 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.467, allocations: 3.111 MB / 0.5701 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005894/0.4729, allocations: 2.155 MB / 0.5722 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.4732, allocations: 221.8 kB / 0.5724 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.4745, allocations: 283.8 kB / 0.5727 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.4939, allocations: 11.11 MB / 0.5836 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.4941, allocations: 27.81 kB / 0.5836 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000881/0.495, allocations: 135.8 kB / 0.5837 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004621/0.4996, allocations: 2.616 MB / 0.5863 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.5207, allocations: 10.38 MB / 0.5964 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05677/0.5775, allocations: 36.47 MB / 0.632 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009411/0.5869, allocations: 4.569 MB / 0.6365 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.5902, allocations: 2.392 MB / 0.6388 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.5915, allocations: 1.319 MB / 0.6401 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.5915, allocations: 60.5 kB / 0.6402 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 6.201e-06/0.5916, allocations: 0 / 0.6402 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04124/0.6328, allocations: 17.59 MB / 0.6573 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6329, allocations: 81.34 kB / 0.6574 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.6371, allocations: 2.731 MB / 0.6601 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.6373, allocations: 57.7 kB / 0.6601 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.6392, allocations: 2.779 MB / 0.6628 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008535/0.64, allocations: 0.9212 MB / 0.6637 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.6416, allocations: 1.064 MB / 0.6648 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.6417, allocations: 301.1 kB / 0.6651 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/0.6454, allocations: 2.318 MB / 0.6673 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.6508, allocations: 5.222 MB / 0.6724 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/0.6599, allocations: 8.273 MB / 0.6805 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.178e-05/0.6599, allocations: 32 kB / 0.6805 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01421/0.6742, allocations: 8.301 MB / 0.6886 GB, free: 9.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.6743, allocations: 48 kB / 0.6887 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/0.6745, allocations: 100 kB / 0.6888 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.6773, allocations: 0.9413 MB / 0.6897 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/0.6822, allocations: 1.228 MB / 0.6909 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.6898, allocations: 5.138 MB / 0.6959 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/0.6945, allocations: 299.8 kB / 0.6962 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/0.6956, allocations: 308 kB / 0.6965 GB, free: 1.531 MB / 0.545 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.004677/0.7003, allocations: 2.147 MB / 0.6986 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/0.7011, allocations: 276.4 kB / 0.6989 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.7112, allocations: 5.133 MB / 0.7039 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.335e-05/0.7112, allocations: 11.95 kB / 0.7039 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7112, allocations: 96 / 0.7039 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.712, allocations: 309.5 kB / 0.7042 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006208/0.7126, allocations: 32 kB / 0.7042 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.7141, allocations: 139.7 kB / 0.7043 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.7144, allocations: 141.8 kB / 0.7045 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008404/0.7229, allocations: 4.571 MB / 0.7089 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008623/0.7315, allocations: 6.709 MB / 0.7155 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002264/0.7338, allocations: 1.866 MB / 0.7173 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002948/0.7368, allocations: 1.684 MB / 0.719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Backend: time 6.01e-07/0.7368, allocations: 0 / 0.719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008759/0.7456, allocations: 4.209 MB / 0.7231 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of SimCode: time 0.2844/1.03, allocations: 8.973 MB / 0.7318 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.0751/1.105, allocations: 43.94 MB / 0.7748 GB, free: 161.3 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches