Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 181.8 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008165/0.0008164, allocations: 90.3 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2474/0.2474, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003265, allocations: 12 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 58.86 MB / 491.2 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03974/0.1555, allocations: 39.47 MB / 0.5182 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2567/0.4122, allocations: 12.47 MB / 0.5304 GB, free: 6.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.4223, allocations: 184.4 kB / 0.5306 GB, free: 6.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.4246, allocations: 476.4 kB / 0.531 GB, free: 6.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.4322, allocations: 1.912 MB / 0.5329 GB, free: 6.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.4354, allocations: 0.9336 MB / 0.5338 GB, free: 6.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.4472, allocations: 7.222 MB / 0.5408 GB, free: 5.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008808/0.456, allocations: 5.307 MB / 0.546 GB, free: 3.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.4602, allocations: 1.503 MB / 0.5475 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/0.4644, allocations: 2.359 MB / 0.5498 GB, free: 1.965 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.466, allocations: 170 kB / 0.55 GB, free: 1.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.4708, allocations: 1.28 MB / 0.5512 GB, free: 1.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.4743, allocations: 1.986 MB / 0.5531 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.4778, allocations: 2.281 MB / 0.5554 GB, free: 15.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009417/0.4873, allocations: 7.532 MB / 0.5627 GB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4873, allocations: 0 / 0.5627 GB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4873, allocations: 0 / 0.5627 GB, free: 10.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002724/0.4876, allocations: 0 / 0.5627 GB, free: 10.94 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01264/0.5003, allocations: 4.784 MB / 0.5674 GB, free: 6.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5003, allocations: 8.031 kB / 0.5674 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.5164, allocations: 2.662 MB / 0.57 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009941/0.5264, allocations: 3.252 MB / 0.5732 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.5267, allocations: 254.2 kB / 0.5734 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.5281, allocations: 354.2 kB / 0.5738 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.5508, allocations: 12.37 MB / 0.5858 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.551, allocations: 55.52 kB / 0.5859 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004702/0.5515, allocations: 167.4 kB / 0.5861 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.5552, allocations: 2.374 MB / 0.5884 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.5775, allocations: 10.83 MB / 0.599 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06477/0.6423, allocations: 48.82 MB / 0.6466 GB, free: 5.812 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/0.6575, allocations: 6.046 MB / 0.6525 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/0.6618, allocations: 3.286 MB / 0.6557 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0203/0.6821, allocations: 13.54 MB / 0.669 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.6822, allocations: 55.88 kB / 0.669 GB, free: 14.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 5.32e-06/0.6822, allocations: 0 / 0.669 GB, free: 14.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.09908/0.7813, allocations: 36.44 MB / 0.7046 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.7815, allocations: 205.9 kB / 0.7048 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/0.7877, allocations: 4.354 MB / 0.709 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007648/0.7885, allocations: 65.7 kB / 0.7091 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002613/0.7911, allocations: 3.379 MB / 0.7124 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001325/0.7925, allocations: 0.9882 MB / 0.7134 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/0.7929, allocations: 140 kB / 0.7135 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004053/0.7933, allocations: 0.6036 MB / 0.7141 GB, free: 80 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2392/1.033, allocations: 3.252 MB / 0.7173 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009349/1.042, allocations: 7.177 MB / 0.7243 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/1.06, allocations: 11.19 MB / 0.7352 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/1.06, allocations: 38.56 kB / 0.7352 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02697/1.087, allocations: 13.23 MB / 0.7482 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.087, allocations: 62.91 kB / 0.7482 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.087, allocations: 133.3 kB / 0.7484 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009348/1.097, allocations: 3.415 MB / 0.7517 GB, free: 164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005958/1.103, allocations: 1.573 MB / 0.7532 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/1.123, allocations: 16.35 MB / 0.7692 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.129, allocations: 431 kB / 0.7696 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009775/1.13, allocations: 417.8 kB / 0.77 GB, free: 148.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * Array equations: 3 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004745/1.135, allocations: 2.352 MB / 0.7723 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.136, allocations: 399.8 kB / 0.7727 GB, free: 146 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.15, allocations: 7.999 MB / 0.7805 GB, free: 138 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/1.15, allocations: 24 kB / 0.7805 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.15, allocations: 15.98 kB / 0.7805 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.725e-05/1.15, allocations: 11.91 kB / 0.7805 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.176, allocations: 15.53 MB / 0.7957 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/1.176, allocations: 4 kB / 0.7957 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.178, allocations: 387.4 kB / 0.7961 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008911/1.187, allocations: 3.166 MB / 0.7992 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006021/1.187, allocations: 55.92 kB / 0.7992 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/1.205, allocations: 14.66 MB / 0.8135 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.205, allocations: 4 kB / 0.8135 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/1.222, allocations: 12.12 MB / 0.8254 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/1.225, allocations: 0.9487 MB / 0.8263 GB, free: 90.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.225, allocations: 40.88 kB / 0.8263 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.227, allocations: 187.7 kB / 0.8265 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/1.228, allocations: 154.2 kB / 0.8267 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.228, allocations: 69.62 kB / 0.8267 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003922/1.232, allocations: 2.716 MB / 0.8294 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/1.232, allocations: 0 / 0.8294 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006235/1.238, allocations: 1.37 MB / 0.8307 GB, free: 86.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005416/1.239, allocations: 193.2 kB / 0.8309 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.251, allocations: 8.14 MB / 0.8389 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/1.251, allocations: 0 / 0.8389 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/1.256, allocations: 3.303 MB / 0.8421 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.26, allocations: 487.4 kB / 0.8426 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.278, allocations: 14.4 MB / 0.8566 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/1.281, allocations: 3.681 MB / 0.8602 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004835/1.286, allocations: 2.176 MB / 0.8623 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008857/1.287, allocations: 291.4 kB / 0.8626 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/1.287, allocations: 0 / 0.8626 GB, free: 53.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3431/1.63, allocations: 57.09 MB / 0.9184 GB, free: 167 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches