Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001279/0.001279, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4388, allocations: 60.81 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01365/0.4525, allocations: 11.99 MB / 0.5306 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.4635, allocations: 4.362 MB / 0.5349 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.4659, allocations: 71.53 kB / 0.5349 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005656/0.4716, allocations: 2.772 MB / 0.5376 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.4776, allocations: 2.028 MB / 0.5396 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.4804, allocations: 1.01 MB / 0.5406 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009575/0.49, allocations: 5.281 MB / 0.5458 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.4948, allocations: 3.444 MB / 0.5491 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.4984, allocations: 1.752 MB / 0.5508 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/0.5022, allocations: 2.449 MB / 0.5532 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.5036, allocations: 364 kB / 0.5536 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.5074, allocations: 1.435 MB / 0.555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003179/0.5106, allocations: 2.182 MB / 0.5571 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00425/0.5149, allocations: 2.505 MB / 0.5596 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.5254, allocations: 8.093 MB / 0.5675 GB, free: 10.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.5255, allocations: 0 / 0.5675 GB, free: 10.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5255, allocations: 0 / 0.5675 GB, free: 10.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002839/0.5258, allocations: 0 / 0.5675 GB, free: 10.14 MB / 430.1 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.01491/0.5407, allocations: 5.889 MB / 0.5732 GB, free: 4.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5407, allocations: 12.03 kB / 0.5732 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.5578, allocations: 2.626 MB / 0.5758 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007679/0.5655, allocations: 3.222 MB / 0.5789 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.5658, allocations: 258.8 kB / 0.5792 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.5675, allocations: 347.9 kB / 0.5795 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.5892, allocations: 12.37 MB / 0.5916 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.5894, allocations: 47.58 kB / 0.5916 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005196/0.5899, allocations: 167.8 kB / 0.5918 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003823/0.5938, allocations: 2.377 MB / 0.5941 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02145/0.6152, allocations: 10.85 MB / 0.6047 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06454/0.6798, allocations: 48.68 MB / 0.6523 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.696, allocations: 6.04 MB / 0.6582 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.7003, allocations: 3.303 MB / 0.6614 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02129/0.7216, allocations: 13.52 MB / 0.6746 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.7217, allocations: 55.88 kB / 0.6746 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 6.121e-06/0.7217, allocations: 0 / 0.6746 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1105/0.8323, allocations: 36.57 MB / 0.7104 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.8325, allocations: 205.9 kB / 0.7105 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008808/0.8413, allocations: 4.374 MB / 0.7148 GB, free: 148 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006284/0.842, allocations: 61.7 kB / 0.7149 GB, free: 80 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3808/1.223, allocations: 3.514 MB / 0.7183 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/1.225, allocations: 1.03 MB / 0.7193 GB, free: 170 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/1.228, allocations: 1.432 MB / 0.7207 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/1.228, allocations: 303.5 kB / 0.721 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005254/1.233, allocations: 3.285 MB / 0.7242 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008152/1.241, allocations: 7.204 MB / 0.7312 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/1.257, allocations: 11.24 MB / 0.7422 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001873/1.257, allocations: 38.56 kB / 0.7423 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02731/1.284, allocations: 13.29 MB / 0.7552 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.284, allocations: 68.91 kB / 0.7553 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.285, allocations: 136 kB / 0.7554 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009236/1.294, allocations: 3.404 MB / 0.7588 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005725/1.3, allocations: 1.579 MB / 0.7603 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/1.323, allocations: 17.55 MB / 0.7774 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007263/1.33, allocations: 432.1 kB / 0.7779 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/1.332, allocations: 414.9 kB / 0.7782 GB, free: 124.8 MB / 0.5606 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.006602/1.339, allocations: 2.345 MB / 0.7805 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.34, allocations: 433.1 kB / 0.7809 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/1.356, allocations: 7.997 MB / 0.7888 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/1.356, allocations: 28 kB / 0.7888 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/1.356, allocations: 8 kB / 0.7888 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/1.356, allocations: 23.89 kB / 0.7888 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/1.384, allocations: 15.38 MB / 0.8038 GB, free: 98.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/1.384, allocations: 4 kB / 0.8038 GB, free: 98.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/1.387, allocations: 387.4 kB / 0.8042 GB, free: 98.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008784/1.395, allocations: 3.169 MB / 0.8073 GB, free: 95.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005201/1.396, allocations: 40 kB / 0.8073 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.416, allocations: 15.81 MB / 0.8228 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.416, allocations: 0 / 0.8228 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/1.435, allocations: 12.17 MB / 0.8347 GB, free: 66.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.436, allocations: 474.3 kB / 0.8351 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.437, allocations: 40 kB / 0.8352 GB, free: 66.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.44, allocations: 191.7 kB / 0.8353 GB, free: 66.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/1.441, allocations: 158.2 kB / 0.8355 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/1.441, allocations: 67.98 kB / 0.8356 GB, free: 65.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005238/1.447, allocations: 2.729 MB / 0.8382 GB, free: 63.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.447, allocations: 0 / 0.8382 GB, free: 63.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007971/1.455, allocations: 1.371 MB / 0.8396 GB, free: 61.78 MB / 0.5606 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.0008277/1.456, allocations: 182.4 kB / 0.8397 GB, free: 61.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.469, allocations: 8.216 MB / 0.8478 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.469, allocations: 4 kB / 0.8478 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005287/1.474, allocations: 3.325 MB / 0.851 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/1.479, allocations: 0.505 MB / 0.8515 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.501, allocations: 12.03 MB / 0.8633 GB, free: 37.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004299/1.506, allocations: 3.662 MB / 0.8668 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004296/1.51, allocations: 2.18 MB / 0.869 GB, free: 31.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008504/1.511, allocations: 283.4 kB / 0.8692 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/1.511, allocations: 0 / 0.8692 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.08925/1.6, allocations: 57.07 MB / 0.925 GB, free: 6.527 MB / 0.5919 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches