Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 113.7 kB / 17.09 MB, free: 5.988 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.001254/0.001254, allocations: 195.4 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 73.39 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0204/0.1506, allocations: 18.61 MB / 0.5067 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.164, allocations: 5.355 MB / 0.512 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004766/0.1689, allocations: 111.7 kB / 0.5121 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.176, allocations: 3.071 MB / 0.5151 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008527/0.1846, allocations: 2.689 MB / 0.5177 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.1875, allocations: 1.03 MB / 0.5187 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.1979, allocations: 7.41 MB / 0.5259 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007665/0.2056, allocations: 4.246 MB / 0.5301 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2865/0.4922, allocations: 2.302 MB / 0.5323 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006681/0.4989, allocations: 3.285 MB / 0.5355 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002038/0.501, allocations: 457.5 kB / 0.536 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.5048, allocations: 1.308 MB / 0.5373 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003869/0.5086, allocations: 2.883 MB / 0.5401 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00722/0.5159, allocations: 3.257 MB / 0.5433 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.531, allocations: 10.15 MB / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.531, allocations: 1.125 kB / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.531, allocations: 0 / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003628/0.5314, allocations: 0 / 0.5532 GB, free: 6.266 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.02372/0.5551, allocations: 7.313 MB / 0.5603 GB, free: 2.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5552, allocations: 8.938 kB / 0.5603 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/0.5726, allocations: 3.836 MB / 0.5641 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.5848, allocations: 4.335 MB / 0.5683 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/0.5853, allocations: 324.6 kB / 0.5686 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.5879, allocations: 442.6 kB / 0.569 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03848/0.6264, allocations: 15.8 MB / 0.5845 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004198/0.6269, allocations: 62.36 kB / 0.5845 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002893/0.6298, allocations: 196.7 kB / 0.5847 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007694/0.6375, allocations: 3.472 MB / 0.5881 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03532/0.6728, allocations: 14.92 MB / 0.6027 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1123/0.7852, allocations: 55.8 MB / 0.6572 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/0.8065, allocations: 8.198 MB / 0.6652 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007465/0.814, allocations: 4.854 MB / 0.6699 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.8164, allocations: 2.201 MB / 0.672 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.252e-05/0.8165, allocations: 69.08 kB / 0.6721 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 9.949e-06/0.8165, allocations: 0 / 0.6721 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.1261/0.9426, allocations: 40.27 MB / 0.7114 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.9427, allocations: 120 kB / 0.7116 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008582/0.9513, allocations: 4.361 MB / 0.7158 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/0.9525, allocations: 88.83 kB / 0.7159 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003129/0.9556, allocations: 3.866 MB / 0.7197 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002415/0.958, allocations: 1.496 MB / 0.7211 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004578/0.9626, allocations: 1.579 MB / 0.7227 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.9627, allocations: 301.1 kB / 0.723 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006634/0.9694, allocations: 4.091 MB / 0.727 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009349/0.9787, allocations: 7.907 MB / 0.7347 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/0.9962, allocations: 12.96 MB / 0.7473 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/0.9964, allocations: 39.94 kB / 0.7474 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.3324/1.329, allocations: 14.8 MB / 0.7618 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.329, allocations: 60.5 kB / 0.7619 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/1.329, allocations: 130.3 kB / 0.762 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.34, allocations: 2.936 MB / 0.7649 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008325/1.348, allocations: 1.827 MB / 0.7667 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.369, allocations: 15.94 MB / 0.7822 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/1.376, allocations: 0.4986 MB / 0.7827 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001658/1.378, allocations: 446.4 kB / 0.7831 GB, free: 193.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005862/1.384, allocations: 2.912 MB / 0.786 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.385, allocations: 463.3 kB / 0.7864 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.403, allocations: 10.94 MB / 0.7971 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.914e-05/1.403, allocations: 15.47 kB / 0.7971 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.403, allocations: 0 / 0.7971 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004025/1.407, allocations: 1.174 MB / 0.7983 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.409, allocations: 65.2 kB / 0.7983 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.412, allocations: 304.1 kB / 0.7986 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/1.412, allocations: 270.7 kB / 0.7989 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01824/1.431, allocations: 9.726 MB / 0.8084 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01477/1.445, allocations: 12.62 MB / 0.8207 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003941/1.449, allocations: 3.609 MB / 0.8242 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005462/1.455, allocations: 2.725 MB / 0.8269 GB, free: 161 MB / 0.5919 GB Notification: Performance of Backend: time 6.62e-07/1.455, allocations: 0 / 0.8269 GB, free: 161 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.471, allocations: 7.113 MB / 0.8338 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02611/1.498, allocations: 13.63 MB / 0.8471 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1259/1.624, allocations: 84.35 MB / 0.9295 GB, free: 56.26 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches