Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008809/0.0008809, allocations: 91.47 kB / 297.3 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3102/0.3102, allocations: 45.24 MB / 394.7 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002618, allocations: 8 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 63.23 MB / 0.5192 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.411, allocations: 107.7 MB / 0.6243 GB, free: 11.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4113, allocations: 87.95 kB / 0.6244 GB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4641/0.8753, allocations: 78.61 MB / 0.7012 GB, free: 102.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8754, allocations: 2.688 kB / 0.7012 GB, free: 102.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002036/0.8756, allocations: 66.22 kB / 0.7012 GB, free: 102.5 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.01232/0.8879, allocations: 3.905 MB / 0.7051 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.888, allocations: 8.875 kB / 0.7051 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.9042, allocations: 4.256 MB / 0.7092 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.9156, allocations: 3.782 MB / 0.7129 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.916, allocations: 266.3 kB / 0.7132 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.9178, allocations: 364.6 kB / 0.7135 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.9383, allocations: 9.162 MB / 0.7225 GB, free: 95.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003377/0.9387, allocations: 56.92 kB / 0.7225 GB, free: 95.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001491/0.9402, allocations: 183.3 kB / 0.7227 GB, free: 95.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/0.9415, allocations: 0.8783 MB / 0.7235 GB, free: 95.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.9559, allocations: 7.708 MB / 0.7311 GB, free: 93.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04304/0.999, allocations: 42.11 MB / 0.7722 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/1.006, allocations: 3.462 MB / 0.7756 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/1.006, allocations: 333.3 kB / 0.7759 GB, free: 59.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.006, allocations: 53.31 kB / 0.7759 GB, free: 59.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 4.459e-06/1.006, allocations: 0 / 0.7759 GB, free: 59.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.03045/1.036, allocations: 14.44 MB / 0.7901 GB, free: 48.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.037, allocations: 171.2 kB / 0.7902 GB, free: 48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/1.042, allocations: 3.159 MB / 0.7933 GB, free: 44.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/1.042, allocations: 45.7 kB / 0.7933 GB, free: 44.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.044, allocations: 2.723 MB / 0.796 GB, free: 42.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005312/1.044, allocations: 0.606 MB / 0.7966 GB, free: 41.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.044, allocations: 108 kB / 0.7967 GB, free: 41.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002942/1.045, allocations: 0.5213 MB / 0.7972 GB, free: 40.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/1.047, allocations: 1.974 MB / 0.7991 GB, free: 38.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/1.051, allocations: 5.203 MB / 0.8042 GB, free: 32.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/1.055, allocations: 3.156 MB / 0.8073 GB, free: 28.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.332e-05/1.055, allocations: 39.94 kB / 0.8073 GB, free: 28.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01212/1.067, allocations: 7.716 MB / 0.8149 GB, free: 21.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/1.067, allocations: 55.98 kB / 0.8149 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.067, allocations: 116 kB / 0.815 GB, free: 20.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/1.069, allocations: 0.9303 MB / 0.8159 GB, free: 19.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/1.073, allocations: 1.212 MB / 0.8171 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006199/1.079, allocations: 6.249 MB / 0.8232 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/1.083, allocations: 307.3 kB / 0.8235 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006927/1.083, allocations: 327.3 kB / 0.8238 GB, free: 11.77 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.003361/1.087, allocations: 1.881 MB / 0.8257 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000652/1.087, allocations: 308 kB / 0.826 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/1.092, allocations: 3.097 MB / 0.829 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.092, allocations: 19.94 kB / 0.829 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.092, allocations: 7.984 kB / 0.829 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.092, allocations: 7.984 kB / 0.829 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.108, allocations: 7.794 MB / 0.8366 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.108, allocations: 3.953 kB / 0.8366 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.109, allocations: 239.6 kB / 0.8369 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/1.111, allocations: 0.7547 MB / 0.8376 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.111, allocations: 24 kB / 0.8376 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007726/1.119, allocations: 5.795 MB / 0.8433 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.119, allocations: 0 / 0.8433 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/1.127, allocations: 5.709 MB / 0.8489 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.128, allocations: 365 kB / 0.8492 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007485/1.129, allocations: 31.94 kB / 0.8492 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.131, allocations: 87.88 kB / 0.8493 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.131, allocations: 84.88 kB / 0.8494 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.131, allocations: 47.45 kB / 0.8494 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004251/1.136, allocations: 2.206 MB / 0.8516 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.136, allocations: 0 / 0.8516 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00494/1.14, allocations: 0.8828 MB / 0.8525 GB, free: 14.21 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.0004741/1.141, allocations: 163.4 kB / 0.8526 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007338/1.148, allocations: 4.793 MB / 0.8573 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.148, allocations: 0 / 0.8573 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/1.151, allocations: 1.721 MB / 0.859 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.154, allocations: 353.1 kB / 0.8593 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.171, allocations: 9.631 MB / 0.8687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/1.176, allocations: 3.015 MB / 0.8717 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004893/1.181, allocations: 1.715 MB / 0.8733 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/1.182, allocations: 215.4 kB / 0.8735 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of SimCode: time 1.694e-06/1.182, allocations: 4 kB / 0.8736 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.2893/1.471, allocations: 32.55 MB / 0.9053 GB, free: 129.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches