Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.00135, allocations: 201.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000827/0.0008272, allocations: 104.5 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.422/0.422, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.382, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.5237, allocations: 111.1 MB / 0.6269 GB, free: 10.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.524, allocations: 79.95 kB / 0.627 GB, free: 10.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5795/1.104, allocations: 100.1 MB / 0.7247 GB, free: 101 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.104, allocations: 0 / 0.7247 GB, free: 101 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002816/1.104, allocations: 88.81 kB / 0.7248 GB, free: 101 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.01896/1.123, allocations: 5.22 MB / 0.7299 GB, free: 98.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.123, allocations: 11.78 kB / 0.7299 GB, free: 98.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/1.139, allocations: 3.753 MB / 0.7336 GB, free: 97.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/1.151, allocations: 4.441 MB / 0.7379 GB, free: 96.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/1.152, allocations: 348.8 kB / 0.7382 GB, free: 95.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/1.155, allocations: 463.2 kB / 0.7387 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/1.185, allocations: 12.6 MB / 0.751 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/1.186, allocations: 72.16 kB / 0.7511 GB, free: 89.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00216/1.188, allocations: 222.3 kB / 0.7513 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001894/1.19, allocations: 1.272 MB / 0.7525 GB, free: 88.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/1.21, allocations: 10.78 MB / 0.763 GB, free: 81.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05987/1.27, allocations: 55.74 MB / 0.8175 GB, free: 23.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/1.283, allocations: 5.868 MB / 0.8232 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/1.286, allocations: 3.057 MB / 0.8262 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.302, allocations: 12.95 MB / 0.8388 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.302, allocations: 59.81 kB / 0.8389 GB, free: 1.457 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.759e-06/1.302, allocations: 0 / 0.8389 GB, free: 1.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.1015/1.403, allocations: 35.52 MB / 0.8736 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.404, allocations: 213.9 kB / 0.8738 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008035/1.412, allocations: 4.36 MB / 0.878 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000794/1.412, allocations: 65.64 kB / 0.8781 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00296/1.415, allocations: 3.431 MB / 0.8815 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.417, allocations: 0.9504 MB / 0.8824 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/1.417, allocations: 136 kB / 0.8825 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004257/1.418, allocations: 0.5913 MB / 0.8831 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.423, allocations: 3.082 MB / 0.8861 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3221/1.745, allocations: 7.013 MB / 0.8929 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/1.758, allocations: 10.89 MB / 0.9036 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/1.758, allocations: 37.53 kB / 0.9036 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02945/1.787, allocations: 12.59 MB / 0.9159 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.788, allocations: 64.14 kB / 0.916 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003446/1.788, allocations: 137.9 kB / 0.9161 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/1.798, allocations: 3.201 MB / 0.9192 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006351/1.805, allocations: 1.55 MB / 0.9207 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/1.828, allocations: 14.98 MB / 0.9354 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007618/1.835, allocations: 475.3 kB / 0.9358 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/1.837, allocations: 413.5 kB / 0.9362 GB, free: 117.4 MB / 0.5261 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.007576/1.845, allocations: 2.34 MB / 0.9385 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.846, allocations: 407.2 kB / 0.9389 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/1.861, allocations: 7.415 MB / 0.9461 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/1.861, allocations: 30.81 kB / 0.9462 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/1.861, allocations: 14.16 kB / 0.9462 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-05/1.861, allocations: 12.75 kB / 0.9462 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.888, allocations: 15.04 MB / 0.9609 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/1.888, allocations: 0.5 kB / 0.9609 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/1.89, allocations: 381.4 kB / 0.9612 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007698/1.898, allocations: 2.884 MB / 0.964 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005569/1.898, allocations: 44.23 kB / 0.9641 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/1.916, allocations: 13.29 MB / 0.9771 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.916, allocations: 7.938 kB / 0.9771 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/1.933, allocations: 11.32 MB / 0.9881 GB, free: 90.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.935, allocations: 450.9 kB / 0.9886 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/1.935, allocations: 36.78 kB / 0.9886 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.937, allocations: 203.8 kB / 0.9888 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/1.938, allocations: 154 kB / 0.9889 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.938, allocations: 60.56 kB / 0.989 GB, free: 89.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004419/1.942, allocations: 2.734 MB / 0.9917 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.942, allocations: 0 / 0.9917 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006562/1.949, allocations: 1.314 MB / 0.9929 GB, free: 85.77 MB / 0.5261 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.0005839/1.95, allocations: 190.7 kB / 0.9931 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.961, allocations: 7.791 MB / 1.001 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.961, allocations: 4 kB / 1.001 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/1.965, allocations: 3.069 MB / 1.004 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.969, allocations: 0.4931 MB / 1.004 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/1.991, allocations: 13.59 MB / 1.017 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/1.995, allocations: 3.667 MB / 1.021 GB, free: 58.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005652/2.001, allocations: 2.179 MB / 1.023 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/2.002, allocations: 279.4 kB / 1.023 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/2.002, allocations: 0 / 1.023 GB, free: 55.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.094/2.096, allocations: 53.9 MB / 1.076 GB, free: 2.285 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches