Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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.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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 186.9 kB / 16.41 MB, free: 5.727 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001145/0.001144, allocations: 95.55 kB / 270.9 MB, free: 8.395 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.5152/0.5152, allocations: 43.54 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006499/0.0006499, allocations: 15.92 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1312, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6217, allocations: 108.3 MB / 0.5845 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.622, allocations: 75.95 kB / 0.5846 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7399/1.362, allocations: 99.2 MB / 0.6814 GB, free: 88.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.362, allocations: 0 / 0.6814 GB, free: 88.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002824/1.362, allocations: 88.31 kB / 0.6815 GB, free: 88.66 MB / 490.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.02273/1.385, allocations: 5.469 MB / 0.6869 GB, free: 86.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.385, allocations: 10.8 kB / 0.6869 GB, free: 86.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03394/1.419, allocations: 4.611 MB / 0.6914 GB, free: 86.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/1.44, allocations: 6.099 MB / 0.6973 GB, free: 85.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/1.441, allocations: 351.3 kB / 0.6977 GB, free: 85.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/1.444, allocations: 470.3 kB / 0.6981 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/1.484, allocations: 12.72 MB / 0.7105 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000342/1.484, allocations: 68.66 kB / 0.7106 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/1.486, allocations: 226.8 kB / 0.7108 GB, free: 82.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/1.489, allocations: 1.264 MB / 0.7121 GB, free: 82.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03671/1.526, allocations: 10.96 MB / 0.7228 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08078/1.607, allocations: 55.86 MB / 0.7773 GB, free: 41.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02523/1.632, allocations: 5.962 MB / 0.7831 GB, free: 39.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0273/1.659, allocations: 13.07 MB / 0.7959 GB, free: 32.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/1.659, allocations: 61.23 kB / 0.796 GB, free: 32.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 6.542e-06/1.659, allocations: 0 / 0.796 GB, free: 32.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.1754/1.835, allocations: 36.15 MB / 0.8313 GB, free: 9.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.835, allocations: 209 kB / 0.8315 GB, free: 9.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009431/1.844, allocations: 3.919 MB / 0.8353 GB, free: 5.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007357/1.845, allocations: 61.7 kB / 0.8353 GB, free: 5.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002779/1.848, allocations: 3.338 MB / 0.8386 GB, free: 2.371 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001597/1.85, allocations: 0.9451 MB / 0.8395 GB, free: 1.434 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/1.851, allocations: 136.9 kB / 0.8397 GB, free: 1.301 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005312/1.851, allocations: 0.6038 MB / 0.8402 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008822/1.86, allocations: 3.078 MB / 0.8432 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/1.873, allocations: 6.988 MB / 0.8501 GB, free: 4.676 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.886, allocations: 4.521 MB / 0.8545 GB, free: 156 kB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/1.886, allocations: 44 kB / 0.8545 GB, free: 112 kB / 0.4949 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.04353/1.929, allocations: 12.44 MB / 0.8667 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.929, allocations: 64 kB / 0.8667 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000246/1.93, allocations: 143.9 kB / 0.8669 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/1.947, allocations: 3.213 MB / 0.87 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3627/2.31, allocations: 1.554 MB / 0.8715 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04043/2.351, allocations: 15.53 MB / 0.8867 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00887/2.359, allocations: 475.6 kB / 0.8872 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/2.361, allocations: 409.8 kB / 0.8875 GB, free: 105.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (809): * Single equations (assignments): 805 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007022/2.368, allocations: 2.354 MB / 0.8898 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/2.37, allocations: 404.5 kB / 0.8902 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02743/2.397, allocations: 7.418 MB / 0.8975 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/2.398, allocations: 27.03 kB / 0.8975 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-05/2.398, allocations: 9.844 kB / 0.8975 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/2.398, allocations: 17.42 kB / 0.8975 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04901/2.447, allocations: 15.03 MB / 0.9122 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.341e-05/2.447, allocations: 1.312 kB / 0.9122 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003807/2.451, allocations: 381.2 kB / 0.9126 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01605/2.467, allocations: 2.879 MB / 0.9154 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000677/2.467, allocations: 43.62 kB / 0.9154 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03282/2.5, allocations: 13.86 MB / 0.929 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.5, allocations: 1.375 kB / 0.929 GB, free: 94.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03202/2.532, allocations: 11.4 MB / 0.9401 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/2.536, allocations: 0.9174 MB / 0.941 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/2.537, allocations: 37.34 kB / 0.941 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004298/2.541, allocations: 205.2 kB / 0.9412 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000904/2.542, allocations: 153.9 kB / 0.9414 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003064/2.543, allocations: 63.83 kB / 0.9414 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006983/2.55, allocations: 2.753 MB / 0.9441 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.41e-07/2.55, allocations: 1.688 kB / 0.9441 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008447/2.558, allocations: 1.31 MB / 0.9454 GB, free: 89.16 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00098/2.559, allocations: 185.4 kB / 0.9456 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.578, allocations: 7.789 MB / 0.9532 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.578, allocations: 0 / 0.9532 GB, free: 86.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007733/2.586, allocations: 3.073 MB / 0.9562 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/2.59, allocations: 470.6 kB / 0.9566 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03113/2.621, allocations: 14.13 MB / 0.9704 GB, free: 78.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008017/2.629, allocations: 3.774 MB / 0.9741 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/2.632, allocations: 330.8 kB / 0.9744 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of SimCode: time 1.513e-06/2.632, allocations: 0 / 0.9744 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of Templates: time 0.1589/2.791, allocations: 88.2 MB / 1.061 GB, free: 460 kB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches