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.001268/0.001268, allocations: 100.8 kB / 17.08 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.001158/0.001158, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2175/0.2175, allocations: 43.54 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.001625/0.001625, allocations: 71.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0189/0.1446, allocations: 18.6 MB / 0.5067 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.156, allocations: 5.355 MB / 0.512 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.1593, allocations: 111.7 kB / 0.5121 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.1646, allocations: 3.067 MB / 0.5151 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.1707, allocations: 2.63 MB / 0.5176 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.1728, allocations: 1.018 MB / 0.5186 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008912/0.1817, allocations: 7.414 MB / 0.5259 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005775/0.1875, allocations: 4.246 MB / 0.53 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2717/0.4593, allocations: 2.302 MB / 0.5323 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.4654, allocations: 3.281 MB / 0.5355 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.4668, allocations: 456 kB / 0.5359 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.4701, allocations: 1.304 MB / 0.5372 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003529/0.4737, allocations: 2.888 MB / 0.54 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005808/0.4795, allocations: 3.26 MB / 0.5432 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.4955, allocations: 10.16 MB / 0.5531 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4956, allocations: 0 / 0.5531 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4956, allocations: 0 / 0.5531 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003405/0.4959, allocations: 1.281 kB / 0.5531 GB, free: 6.301 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.0207/0.5166, allocations: 7.309 MB / 0.5602 GB, free: 2.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.5167, allocations: 9.281 kB / 0.5602 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.5332, allocations: 3.84 MB / 0.564 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.5439, allocations: 4.329 MB / 0.5682 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.5442, allocations: 326.9 kB / 0.5685 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002456/0.5466, allocations: 445.3 kB / 0.569 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/0.5786, allocations: 15.8 MB / 0.5844 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.5789, allocations: 60.89 kB / 0.5844 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007995/0.5797, allocations: 201.4 kB / 0.5846 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006472/0.5862, allocations: 3.468 MB / 0.588 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.6203, allocations: 14.92 MB / 0.6026 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09857/0.7189, allocations: 55.8 MB / 0.6571 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.7392, allocations: 8.199 MB / 0.6651 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007432/0.7467, allocations: 4.847 MB / 0.6698 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002228/0.7489, allocations: 2.208 MB / 0.672 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.774e-05/0.749, allocations: 65.08 kB / 0.672 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 1.023e-05/0.7491, allocations: 0 / 0.672 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.1131/0.8622, allocations: 40.27 MB / 0.7114 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.8623, allocations: 112 kB / 0.7115 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/0.8733, allocations: 4.368 MB / 0.7157 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/0.8746, allocations: 89.61 kB / 0.7158 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/0.8781, allocations: 3.864 MB / 0.7196 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002981/0.8811, allocations: 1.491 MB / 0.721 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005707/0.8868, allocations: 1.583 MB / 0.7226 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.887, allocations: 304.9 kB / 0.7229 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00684/0.8938, allocations: 4.087 MB / 0.7269 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009113/0.9029, allocations: 7.91 MB / 0.7346 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/0.9191, allocations: 12.97 MB / 0.7473 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.816e-05/0.9192, allocations: 38.81 kB / 0.7473 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.275/1.194, allocations: 14.8 MB / 0.7618 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/1.194, allocations: 60.5 kB / 0.7618 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/1.195, allocations: 136.6 kB / 0.7619 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.206, allocations: 2.932 MB / 0.7648 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009123/1.215, allocations: 1.826 MB / 0.7666 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/1.234, allocations: 15.95 MB / 0.7822 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006684/1.241, allocations: 0.497 MB / 0.7826 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.242, allocations: 437.6 kB / 0.7831 GB, free: 193.7 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.005471/1.248, allocations: 2.918 MB / 0.7859 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000918/1.249, allocations: 461.7 kB / 0.7864 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.266, allocations: 10.94 MB / 0.797 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-05/1.266, allocations: 15.47 kB / 0.797 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.266, allocations: 0 / 0.797 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003177/1.269, allocations: 1.172 MB / 0.7982 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/1.27, allocations: 62.55 kB / 0.7983 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.274, allocations: 308.9 kB / 0.7985 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007328/1.274, allocations: 269.1 kB / 0.7988 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01943/1.294, allocations: 9.721 MB / 0.8083 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01627/1.31, allocations: 12.62 MB / 0.8206 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004216/1.314, allocations: 3.601 MB / 0.8241 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005425/1.32, allocations: 2.733 MB / 0.8268 GB, free: 161 MB / 0.5919 GB Notification: Performance of Backend: time 6.81e-07/1.32, allocations: 0 / 0.8268 GB, free: 161 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.339, allocations: 7.117 MB / 0.8338 GB, free: 154.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02549/1.365, allocations: 13.63 MB / 0.8471 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1262/1.491, allocations: 85.44 MB / 0.9305 GB, free: 55.29 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