Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 170.3 kB / 16.76 MB, free: 4.926 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.46/1.46, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007653/0.0007653, allocations: 96.97 kB / 271.3 MB, free: 8.223 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.3361/0.3361, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003973, allocations: 12 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4769, allocations: 108.5 MB / 0.5859 GB, free: 9.469 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4772, allocations: 79.95 kB / 0.586 GB, free: 9.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4835/0.9608, allocations: 97.67 MB / 0.6813 GB, free: 88.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.9608, allocations: 0 / 0.6813 GB, free: 88.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005115/0.9613, allocations: 90.81 kB / 0.6814 GB, free: 88.36 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.01946/0.9808, allocations: 5.205 MB / 0.6865 GB, free: 86.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9809, allocations: 8.438 kB / 0.6865 GB, free: 86.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.9967, allocations: 3.764 MB / 0.6902 GB, free: 86.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.008, allocations: 4.929 MB / 0.695 GB, free: 85.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/1.008, allocations: 348.6 kB / 0.6953 GB, free: 85.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/1.011, allocations: 472.4 kB / 0.6958 GB, free: 85.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/1.036, allocations: 12.59 MB / 0.7081 GB, free: 82.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003665/1.037, allocations: 67.06 kB / 0.7081 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/1.038, allocations: 229 kB / 0.7084 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001891/1.04, allocations: 1.272 MB / 0.7096 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/1.064, allocations: 10.78 MB / 0.7201 GB, free: 82.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05854/1.122, allocations: 55.79 MB / 0.7746 GB, free: 42.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.135, allocations: 5.883 MB / 0.7804 GB, free: 40.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/1.138, allocations: 3.052 MB / 0.7833 GB, free: 38.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/1.155, allocations: 12.96 MB / 0.796 GB, free: 31.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.155, allocations: 56.25 kB / 0.796 GB, free: 31.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 7.323e-06/1.155, allocations: 3.891 kB / 0.796 GB, free: 31.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.08608/1.241, allocations: 35.63 MB / 0.8308 GB, free: 9.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/1.241, allocations: 209.9 kB / 0.831 GB, free: 9.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/1.247, allocations: 4.392 MB / 0.8353 GB, free: 5.602 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005609/1.247, allocations: 65.7 kB / 0.8354 GB, free: 5.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.249, allocations: 3.443 MB / 0.8388 GB, free: 2.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009901/1.25, allocations: 0.9511 MB / 0.8397 GB, free: 1.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/1.25, allocations: 132 kB / 0.8398 GB, free: 1.473 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002674/1.251, allocations: 0.5908 MB / 0.8404 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/1.255, allocations: 3.086 MB / 0.8434 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007442/1.262, allocations: 7.012 MB / 0.8502 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.276, allocations: 10.89 MB / 0.8609 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/1.276, allocations: 43.84 kB / 0.8609 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.2634/1.54, allocations: 12.57 MB / 0.8732 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.54, allocations: 64.34 kB / 0.8733 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.54, allocations: 142 kB / 0.8734 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008525/1.548, allocations: 3.2 MB / 0.8765 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005307/1.554, allocations: 1.55 MB / 0.878 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.573, allocations: 14.99 MB / 0.8927 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/1.58, allocations: 475.8 kB / 0.8931 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.581, allocations: 407.1 kB / 0.8935 GB, free: 103.9 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.003878/1.585, allocations: 2.347 MB / 0.8958 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007421/1.585, allocations: 403.8 kB / 0.8962 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.6, allocations: 7.418 MB / 0.9034 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/1.6, allocations: 27.69 kB / 0.9035 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.681e-05/1.6, allocations: 16.47 kB / 0.9035 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.929e-05/1.6, allocations: 11.88 kB / 0.9035 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.628, allocations: 15.05 MB / 0.9182 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/1.628, allocations: 0 / 0.9182 GB, free: 99.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.63, allocations: 383.9 kB / 0.9185 GB, free: 99.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007477/1.638, allocations: 2.871 MB / 0.9214 GB, free: 98.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/1.638, allocations: 44.03 kB / 0.9214 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/1.654, allocations: 13.3 MB / 0.9344 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.654, allocations: 0 / 0.9344 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.671, allocations: 11.32 MB / 0.9454 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.674, allocations: 0.9142 MB / 0.9463 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007522/1.674, allocations: 46.38 kB / 0.9464 GB, free: 88.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.676, allocations: 204 kB / 0.9466 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/1.677, allocations: 149.8 kB / 0.9467 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.677, allocations: 64.34 kB / 0.9468 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004285/1.681, allocations: 2.747 MB / 0.9495 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/1.681, allocations: 0 / 0.9495 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008428/1.69, allocations: 1.314 MB / 0.9507 GB, free: 87.54 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.0007647/1.691, allocations: 191.4 kB / 0.9509 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.703, allocations: 7.786 MB / 0.9585 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.703, allocations: 3.969 kB / 0.9585 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004223/1.707, allocations: 3.07 MB / 0.9615 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/1.711, allocations: 0.4955 MB / 0.962 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.732, allocations: 13.61 MB / 0.9753 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003998/1.736, allocations: 3.675 MB / 0.9789 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005337/1.741, allocations: 2.185 MB / 0.981 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/1.742, allocations: 285.1 kB / 0.9813 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/1.742, allocations: 0 / 0.9813 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.08263/1.825, allocations: 53.98 MB / 1.034 GB, free: 25.77 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/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_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches