Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.001189, allocations: 178.5 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009572, allocations: 98.78 kB / 295.1 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4271/0.4271, allocations: 44.31 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003195, allocations: 11.94 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 61.9 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.02728/0.3839, allocations: 39.43 MB / 0.5512 GB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.4066, allocations: 12.47 MB / 0.5634 GB, free: 96 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008561/0.4152, allocations: 188.1 kB / 0.5636 GB, free: 64 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.4166, allocations: 464.1 kB / 0.564 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.4214, allocations: 1.917 MB / 0.5659 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.4232, allocations: 0.9358 MB / 0.5668 GB, free: 14.67 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009675/0.4329, allocations: 7.431 MB / 0.5741 GB, free: 12.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007471/0.4404, allocations: 5.316 MB / 0.5793 GB, free: 8.766 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.443, allocations: 1.494 MB / 0.5807 GB, free: 7.266 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.4458, allocations: 2.348 MB / 0.583 GB, free: 4.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004036/0.4462, allocations: 168 kB / 0.5832 GB, free: 4.746 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.4486, allocations: 1.291 MB / 0.5844 GB, free: 3.453 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.4502, allocations: 1.979 MB / 0.5864 GB, free: 1.469 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.4522, allocations: 2.272 MB / 0.5886 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007146/0.4594, allocations: 7.521 MB / 0.5959 GB, free: 7.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4594, allocations: 0 / 0.5959 GB, free: 7.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.4594, allocations: 0 / 0.5959 GB, free: 7.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.4595, allocations: 3.938 kB / 0.5959 GB, free: 7.625 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.008463/0.468, allocations: 4.779 MB / 0.6006 GB, free: 2.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.468, allocations: 8.031 kB / 0.6006 GB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.4824, allocations: 2.662 MB / 0.6032 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.4894, allocations: 3.147 MB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.4897, allocations: 258.8 kB / 0.6065 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009369/0.4907, allocations: 359.8 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.5116, allocations: 12.36 MB / 0.6189 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.5118, allocations: 51.53 kB / 0.619 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.5122, allocations: 159.8 kB / 0.6191 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003482/0.5157, allocations: 2.385 MB / 0.6215 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.5357, allocations: 10.82 MB / 0.632 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3076/0.8433, allocations: 48.81 MB / 0.6797 GB, free: 120.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01565/0.859, allocations: 6.04 MB / 0.6856 GB, free: 119.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/0.8629, allocations: 3.292 MB / 0.6888 GB, free: 119.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01781/0.8808, allocations: 13.52 MB / 0.702 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.8809, allocations: 52.28 kB / 0.7021 GB, free: 112.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 7.584e-06/0.8809, allocations: 0 / 0.7021 GB, free: 112.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.09931/0.9802, allocations: 36.39 MB / 0.7376 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.9803, allocations: 217 kB / 0.7378 GB, free: 100.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/0.9858, allocations: 4.335 MB / 0.7421 GB, free: 96.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006973/0.9865, allocations: 61.7 kB / 0.7421 GB, free: 96.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/0.9885, allocations: 3.378 MB / 0.7454 GB, free: 93.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.9897, allocations: 0.9764 MB / 0.7464 GB, free: 92.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.99, allocations: 144 kB / 0.7465 GB, free: 92.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003009/0.9903, allocations: 0.5997 MB / 0.7471 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003863/0.9942, allocations: 3.262 MB / 0.7503 GB, free: 88.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005319/0.9995, allocations: 7.178 MB / 0.7573 GB, free: 79.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/1.011, allocations: 11.21 MB / 0.7682 GB, free: 66.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.011, allocations: 36 kB / 0.7683 GB, free: 66.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0236/1.034, allocations: 13.22 MB / 0.7812 GB, free: 52.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.034, allocations: 71.48 kB / 0.7812 GB, free: 52.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001862/1.035, allocations: 136 kB / 0.7814 GB, free: 52.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009116/1.044, allocations: 3.411 MB / 0.7847 GB, free: 49.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005487/1.049, allocations: 1.579 MB / 0.7862 GB, free: 47.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/1.07, allocations: 16.36 MB / 0.8022 GB, free: 31.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/1.076, allocations: 427.4 kB / 0.8026 GB, free: 30.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/1.077, allocations: 416 kB / 0.803 GB, free: 30.34 MB / 490.7 MB 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.004074/1.081, allocations: 2.35 MB / 0.8053 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009408/1.082, allocations: 414.7 kB / 0.8057 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.096, allocations: 7.983 MB / 0.8135 GB, free: 19.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/1.097, allocations: 28.12 kB / 0.8135 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/1.097, allocations: 19.98 kB / 0.8136 GB, free: 19.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/1.097, allocations: 11.97 kB / 0.8136 GB, free: 19.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/1.124, allocations: 15.52 MB / 0.8287 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.124, allocations: 4 kB / 0.8287 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.126, allocations: 387.4 kB / 0.8291 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008607/1.135, allocations: 3.165 MB / 0.8322 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/1.136, allocations: 44 kB / 0.8322 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/1.158, allocations: 14.67 MB / 0.8466 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.158, allocations: 4 kB / 0.8466 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/1.181, allocations: 12.12 MB / 0.8584 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.183, allocations: 456.2 kB / 0.8588 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00156/1.184, allocations: 43.98 kB / 0.8589 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/1.187, allocations: 191.7 kB / 0.8591 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008019/1.188, allocations: 150.3 kB / 0.8592 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.188, allocations: 71.98 kB / 0.8593 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004644/1.193, allocations: 2.702 MB / 0.8619 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/1.193, allocations: 0 / 0.8619 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006131/1.199, allocations: 1.368 MB / 0.8632 GB, free: 388 kB / 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.00055/1.199, allocations: 185.6 kB / 0.8634 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01419/1.214, allocations: 8.135 MB / 0.8714 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.214, allocations: 0 / 0.8714 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2506/1.464, allocations: 3.303 MB / 0.8746 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/1.467, allocations: 486.1 kB / 0.8751 GB, free: 167.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.485, allocations: 14.37 MB / 0.8891 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003353/1.489, allocations: 3.68 MB / 0.8927 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005236/1.494, allocations: 2.171 MB / 0.8948 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.495, allocations: 282.5 kB / 0.8951 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/1.495, allocations: 0 / 0.8951 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1017/1.597, allocations: 57.03 MB / 0.9508 GB, free: 124.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches