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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 107.9 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3477/0.3477, allocations: 43.5 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1302, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.296/0.4262, allocations: 63.96 MB / 0.5381 GB, free: 24.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03178/0.458, allocations: 12.8 MB / 0.5506 GB, free: 15.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01487/0.4729, allocations: 279.4 kB / 0.5508 GB, free: 15.85 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006057/0.479, allocations: 3.022 MB / 0.5538 GB, free: 14.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.486, allocations: 2.474 MB / 0.5562 GB, free: 13.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.4885, allocations: 0.9519 MB / 0.5571 GB, free: 13.01 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01364/0.5022, allocations: 10.11 MB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008759/0.511, allocations: 4.131 MB / 0.571 GB, free: 8.621 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.5167, allocations: 2.031 MB / 0.573 GB, free: 7.852 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006623/0.5233, allocations: 3.457 MB / 0.5764 GB, free: 6.281 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00216/0.5255, allocations: 321.9 kB / 0.5767 GB, free: 6.281 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.53, allocations: 1.24 MB / 0.5779 GB, free: 5.766 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00523/0.5353, allocations: 2.772 MB / 0.5806 GB, free: 4.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007829/0.5431, allocations: 3.126 MB / 0.5837 GB, free: 1.918 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.5566, allocations: 9.645 MB / 0.5931 GB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.5567, allocations: 0 / 0.5931 GB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5567, allocations: 0 / 0.5931 GB, free: 8.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004771/0.5572, allocations: 0 / 0.5931 GB, free: 8.805 MB / 410.7 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.0214/0.5786, allocations: 7.324 MB / 0.6002 GB, free: 1.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5787, allocations: 8.031 kB / 0.6002 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.5954, allocations: 3.837 MB / 0.604 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.6067, allocations: 4.264 MB / 0.6082 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.6072, allocations: 328.5 kB / 0.6085 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/0.6096, allocations: 440 kB / 0.6089 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03394/0.6436, allocations: 15.79 MB / 0.6243 GB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004237/0.644, allocations: 67.42 kB / 0.6244 GB, free: 7.879 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/0.6468, allocations: 195.8 kB / 0.6246 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007472/0.6543, allocations: 3.478 MB / 0.628 GB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03365/0.688, allocations: 14.91 MB / 0.6425 GB, free: 5.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3528/1.041, allocations: 56.1 MB / 0.6973 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.059, allocations: 8.203 MB / 0.7053 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006536/1.065, allocations: 4.842 MB / 0.71 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/1.067, allocations: 2.2 MB / 0.7122 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/1.067, allocations: 69.33 kB / 0.7123 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 7.224e-06/1.067, allocations: 0 / 0.7123 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.1088/1.176, allocations: 40.27 MB / 0.7516 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.176, allocations: 112.9 kB / 0.7517 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008579/1.184, allocations: 4.365 MB / 0.756 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.185, allocations: 88.64 kB / 0.756 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/1.188, allocations: 3.873 MB / 0.7598 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002176/1.19, allocations: 1.491 MB / 0.7613 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005222/1.196, allocations: 1.58 MB / 0.7628 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/1.196, allocations: 308.1 kB / 0.7631 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006099/1.202, allocations: 4.088 MB / 0.7671 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007873/1.21, allocations: 7.907 MB / 0.7748 GB, free: 107 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/1.223, allocations: 12.96 MB / 0.7875 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.224, allocations: 39.88 kB / 0.7875 GB, free: 92.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.02772/1.251, allocations: 14.81 MB / 0.802 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.252, allocations: 61 kB / 0.802 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002286/1.252, allocations: 128 kB / 0.8022 GB, free: 77.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008121/1.26, allocations: 2.944 MB / 0.805 GB, free: 74.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006701/1.267, allocations: 1.821 MB / 0.8068 GB, free: 72.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.285, allocations: 14.85 MB / 0.8213 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007054/1.292, allocations: 0.5035 MB / 0.8218 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/1.294, allocations: 443.9 kB / 0.8222 GB, free: 56.36 MB / 0.4948 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.006829/1.301, allocations: 2.908 MB / 0.8251 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.302, allocations: 462 kB / 0.8255 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01996/1.322, allocations: 10.94 MB / 0.8362 GB, free: 41.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-05/1.323, allocations: 67.66 kB / 0.8363 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/1.323, allocations: 11.12 kB / 0.8363 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/1.323, allocations: 19.94 kB / 0.8363 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04045/1.363, allocations: 21.78 MB / 0.8576 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-05/1.363, allocations: 12 kB / 0.8576 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/1.367, allocations: 0.6865 MB / 0.8582 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007627/1.374, allocations: 2.736 MB / 0.8609 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00096/1.375, allocations: 83.92 kB / 0.861 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/1.391, allocations: 13.57 MB / 0.8742 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/1.391, allocations: 23.88 kB / 0.8743 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4296/1.821, allocations: 86.97 MB / 0.9592 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003975/1.825, allocations: 1.171 MB / 0.9603 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009021/1.826, allocations: 73.8 kB / 0.9604 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.829, allocations: 323.3 kB / 0.9607 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00078/1.829, allocations: 255 kB / 0.961 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.83, allocations: 115.8 kB / 0.9611 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0036/1.833, allocations: 2.743 MB / 0.9637 GB, free: 121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.833, allocations: 0 / 0.9637 GB, free: 121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008677/1.842, allocations: 2.202 MB / 0.9659 GB, free: 119.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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 {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007838/1.843, allocations: 239.1 kB / 0.9661 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.856, allocations: 10.07 MB / 0.976 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/1.856, allocations: 0 / 0.976 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005512/1.862, allocations: 4.374 MB / 0.9802 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/1.866, allocations: 0.6871 MB / 0.9809 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/1.895, allocations: 22.29 MB / 1.003 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00671/1.901, allocations: 4.766 MB / 1.007 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006445/1.908, allocations: 2.775 MB / 1.01 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/1.91, allocations: 363.3 kB / 1.01 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/1.91, allocations: 0 / 1.01 GB, free: 73.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.3521/2.262, allocations: 91.05 MB / 1.099 GB, free: 134.7 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches