Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009951/0.0009954, allocations: 195.9 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008116/0.0008118, allocations: 105.7 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3242/0.3242, allocations: 44.82 MB / 393 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002504, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3144, allocations: 62.96 MB / 0.5165 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.447, allocations: 111.1 MB / 0.625 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4472, allocations: 83.95 kB / 0.625 GB, free: 10.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4718/0.9191, allocations: 100.1 MB / 0.7228 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.9191, allocations: 0 / 0.7228 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003096/0.9194, allocations: 91.19 kB / 0.7229 GB, free: 100.6 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.01776/0.9372, allocations: 5.217 MB / 0.728 GB, free: 98.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.9373, allocations: 7.812 kB / 0.728 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.9528, allocations: 3.756 MB / 0.7316 GB, free: 97.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.9638, allocations: 4.441 MB / 0.736 GB, free: 95.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004311/0.9643, allocations: 344.2 kB / 0.7363 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/0.9668, allocations: 468.4 kB / 0.7367 GB, free: 95.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/0.9949, allocations: 12.59 MB / 0.749 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003812/0.9953, allocations: 69.12 kB / 0.7491 GB, free: 88.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002175/0.9975, allocations: 225.7 kB / 0.7493 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.9993, allocations: 1.272 MB / 0.7506 GB, free: 88.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/1.02, allocations: 10.78 MB / 0.7611 GB, free: 81.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05895/1.079, allocations: 55.74 MB / 0.8155 GB, free: 23.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/1.093, allocations: 5.874 MB / 0.8213 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003432/1.097, allocations: 3.051 MB / 0.8242 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/1.114, allocations: 12.95 MB / 0.8369 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/1.114, allocations: 51.88 kB / 0.8369 GB, free: 1.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 8.045e-06/1.114, allocations: 0 / 0.8369 GB, free: 1.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.102/1.216, allocations: 35.52 MB / 0.8716 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.216, allocations: 205.9 kB / 0.8718 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007556/1.224, allocations: 4.368 MB / 0.8761 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006132/1.225, allocations: 65.64 kB / 0.8762 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.227, allocations: 3.433 MB / 0.8795 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.228, allocations: 0.9502 MB / 0.8804 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/1.229, allocations: 136 kB / 0.8806 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003459/1.229, allocations: 0.5952 MB / 0.8811 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.233, allocations: 3.078 MB / 0.8841 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2875/1.521, allocations: 7.009 MB / 0.891 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.533, allocations: 10.89 MB / 0.9016 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.534, allocations: 40.69 kB / 0.9017 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02611/1.56, allocations: 12.58 MB / 0.914 GB, free: 124 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.56, allocations: 63.34 kB / 0.914 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/1.56, allocations: 140.6 kB / 0.9141 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/1.574, allocations: 3.196 MB / 0.9173 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/1.585, allocations: 1.558 MB / 0.9188 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03269/1.617, allocations: 14.98 MB / 0.9334 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009106/1.626, allocations: 477.1 kB / 0.9339 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001971/1.628, allocations: 401.1 kB / 0.9343 GB, free: 116.9 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.007352/1.636, allocations: 2.349 MB / 0.9366 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.637, allocations: 406 kB / 0.9369 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.652, allocations: 7.414 MB / 0.9442 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/1.653, allocations: 28.22 kB / 0.9442 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.653, allocations: 18.72 kB / 0.9442 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/1.653, allocations: 13.12 kB / 0.9442 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.679, allocations: 15.03 MB / 0.9589 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-05/1.679, allocations: 3.094 kB / 0.9589 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.681, allocations: 383 kB / 0.9593 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007994/1.689, allocations: 2.884 MB / 0.9621 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006472/1.69, allocations: 44.58 kB / 0.9621 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.706, allocations: 13.29 MB / 0.9751 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.706, allocations: 3.938 kB / 0.9751 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/1.723, allocations: 11.31 MB / 0.9862 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.724, allocations: 453.4 kB / 0.9866 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/1.725, allocations: 40.78 kB / 0.9866 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.727, allocations: 206.5 kB / 0.9868 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005286/1.727, allocations: 150.1 kB / 0.987 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.728, allocations: 72.19 kB / 0.9871 GB, free: 89.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004234/1.732, allocations: 2.727 MB / 0.9897 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.412e-06/1.732, allocations: 4 kB / 0.9897 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006633/1.738, allocations: 1.317 MB / 0.991 GB, free: 85.67 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.0006043/1.739, allocations: 188 kB / 0.9912 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.751, allocations: 7.783 MB / 0.9988 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.751, allocations: 4 kB / 0.9988 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004322/1.755, allocations: 3.065 MB / 1.002 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/1.759, allocations: 0.4913 MB / 1.002 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.778, allocations: 14.15 MB / 1.016 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.781, allocations: 3.673 MB / 1.02 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.783, allocations: 323.4 kB / 1.02 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/1.783, allocations: 4 kB / 1.02 GB, free: 57.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.3824/2.165, allocations: 90.85 MB / 1.109 GB, free: 139 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches