Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009707/0.0009704, allocations: 194.1 kB / 16.78 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.266/1.266, allocations: 226.5 MB / 244.1 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007354/0.0007354, allocations: 97.77 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3128/0.3128, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002691, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2867, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4052, allocations: 107.6 MB / 0.6216 GB, free: 13.72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4054, allocations: 83.95 kB / 0.6217 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3753/0.7807, allocations: 77.1 MB / 0.697 GB, free: 100.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.7808, allocations: 2.516 kB / 0.697 GB, free: 100.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.7809, allocations: 69.91 kB / 0.697 GB, free: 100.4 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.008868/0.7898, allocations: 3.755 MB / 0.7007 GB, free: 98.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7899, allocations: 10.5 kB / 0.7007 GB, free: 98.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.8034, allocations: 3.425 MB / 0.704 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006957/0.8104, allocations: 3.125 MB / 0.7071 GB, free: 97.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.8107, allocations: 266.8 kB / 0.7074 GB, free: 97.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.8119, allocations: 361.7 kB / 0.7077 GB, free: 97.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.8263, allocations: 9.112 MB / 0.7166 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.8265, allocations: 56.56 kB / 0.7166 GB, free: 95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/0.827, allocations: 178.9 kB / 0.7168 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001079/0.8281, allocations: 0.8867 MB / 0.7177 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.8405, allocations: 7.635 MB / 0.7251 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.8752, allocations: 42.11 MB / 0.7663 GB, free: 60.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006035/0.8813, allocations: 3.373 MB / 0.7696 GB, free: 58.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.883, allocations: 1.811 MB / 0.7713 GB, free: 57.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.8833, allocations: 329.2 kB / 0.7716 GB, free: 57.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8833, allocations: 45.97 kB / 0.7717 GB, free: 57.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 3.707e-06/0.8834, allocations: 0 / 0.7717 GB, free: 57.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.02927/0.9126, allocations: 13.88 MB / 0.7852 GB, free: 50.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.9127, allocations: 175.1 kB / 0.7854 GB, free: 50.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.9175, allocations: 3.526 MB / 0.7889 GB, free: 47.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002321/0.9178, allocations: 49.7 kB / 0.7889 GB, free: 47.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.919, allocations: 2.727 MB / 0.7916 GB, free: 45.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.9194, allocations: 0.6043 MB / 0.7922 GB, free: 44.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.9197, allocations: 104 kB / 0.7923 GB, free: 44.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.9199, allocations: 0.5266 MB / 0.7928 GB, free: 43.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.9221, allocations: 1.967 MB / 0.7947 GB, free: 42.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.9254, allocations: 5.231 MB / 0.7998 GB, free: 35.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/0.9317, allocations: 7.825 MB / 0.8074 GB, free: 26.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.044e-05/0.9318, allocations: 32 kB / 0.8075 GB, free: 26.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01072/0.9425, allocations: 7.729 MB / 0.815 GB, free: 18.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.9426, allocations: 56 kB / 0.8151 GB, free: 18.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.9427, allocations: 119.9 kB / 0.8152 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.9445, allocations: 0.912 MB / 0.8161 GB, free: 17.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.9479, allocations: 1.216 MB / 0.8173 GB, free: 16.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.954, allocations: 6.086 MB / 0.8232 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.9576, allocations: 307.5 kB / 0.8235 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/0.9583, allocations: 327.7 kB / 0.8238 GB, free: 9.742 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 634 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002642/0.9609, allocations: 1.88 MB / 0.8256 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.9614, allocations: 308 kB / 0.8259 GB, free: 7.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.9658, allocations: 3.109 MB / 0.829 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.9658, allocations: 16 kB / 0.829 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9658, allocations: 8 kB / 0.829 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9659, allocations: 3.984 kB / 0.829 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.9778, allocations: 7.794 MB / 0.8366 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.9778, allocations: 0 / 0.8366 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.9789, allocations: 243.6 kB / 0.8368 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.9808, allocations: 0.7461 MB / 0.8376 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.9809, allocations: 31.69 kB / 0.8376 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0071/0.988, allocations: 5.629 MB / 0.8431 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.988, allocations: 3.938 kB / 0.8431 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007819/0.9959, allocations: 5.637 MB / 0.8486 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/0.9968, allocations: 365.7 kB / 0.849 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/0.9975, allocations: 24 kB / 0.849 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.999, allocations: 91.86 kB / 0.8491 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.9993, allocations: 84.83 kB / 0.8492 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9994, allocations: 43.98 kB / 0.8492 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003373/1.003, allocations: 2.206 MB / 0.8513 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/1.003, allocations: 0 / 0.8513 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00411/1.007, allocations: 0.8866 MB / 0.8522 GB, free: 12.43 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 (115): * Single equations (assignments): 111 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004081/1.007, allocations: 167.8 kB / 0.8524 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006978/1.014, allocations: 4.795 MB / 0.8571 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.014, allocations: 0 / 0.8571 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/1.017, allocations: 1.711 MB / 0.8587 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.02, allocations: 389.3 kB / 0.8591 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/1.036, allocations: 10.1 MB / 0.869 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/1.039, allocations: 2.933 MB / 0.8718 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009525/1.04, allocations: 251.4 kB / 0.8721 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/1.04, allocations: 0 / 0.8721 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.2913/1.331, allocations: 67.46 MB / 0.9379 GB, free: 117.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches