Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 84.06 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1762/0.1762, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.096e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4494, allocations: 106.7 MB / 0.6059 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4497, allocations: 75.97 kB / 0.606 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1838/0.6335, allocations: 77.88 MB / 0.682 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6336, allocations: 0 / 0.682 GB, free: 188 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001243/0.6337, allocations: 72 kB / 0.6821 GB, free: 116 kB / 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.007885/0.6416, allocations: 3.623 MB / 0.6856 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6416, allocations: 8.031 kB / 0.6856 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.6572, allocations: 4.246 MB / 0.6898 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.6681, allocations: 4.271 MB / 0.6939 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.6683, allocations: 271.1 kB / 0.6942 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/0.67, allocations: 355.8 kB / 0.6945 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.6852, allocations: 9.101 MB / 0.7034 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.6854, allocations: 55.47 kB / 0.7035 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.6858, allocations: 175.9 kB / 0.7036 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/0.6869, allocations: 0.8922 MB / 0.7045 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.7, allocations: 7.597 MB / 0.7119 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2894/0.9894, allocations: 42.11 MB / 0.7531 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006838/0.9963, allocations: 3.452 MB / 0.7564 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.9984, allocations: 1.794 MB / 0.7582 GB, free: 99.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.9987, allocations: 333.3 kB / 0.7585 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.9988, allocations: 48.84 kB / 0.7585 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 4.007e-06/0.9988, allocations: 0 / 0.7585 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.02631/1.025, allocations: 12.11 MB / 0.7704 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/1.025, allocations: 173.3 kB / 0.7705 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.03, allocations: 3.126 MB / 0.7736 GB, free: 93.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/1.03, allocations: 50.08 kB / 0.7736 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.031, allocations: 2.723 MB / 0.7763 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005491/1.032, allocations: 0.6093 MB / 0.7769 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.032, allocations: 109.1 kB / 0.777 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.032, allocations: 0.524 MB / 0.7775 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/1.034, allocations: 1.931 MB / 0.7794 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/1.038, allocations: 5.169 MB / 0.7844 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/1.041, allocations: 3.155 MB / 0.7875 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.816e-05/1.041, allocations: 33.41 kB / 0.7876 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.009456/1.05, allocations: 7.647 MB / 0.795 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.051, allocations: 53.66 kB / 0.7951 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.44e-05/1.051, allocations: 121.1 kB / 0.7952 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.053, allocations: 0.925 MB / 0.7961 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.056, allocations: 1.216 MB / 0.7973 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/1.062, allocations: 6.067 MB / 0.8032 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.066, allocations: 301.2 kB / 0.8035 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006111/1.067, allocations: 328.9 kB / 0.8038 GB, free: 77.81 MB / 0.5105 GB 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 () * 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.0006357/1.067, allocations: 0.5017 MB / 0.8043 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.068, allocations: 305.6 kB / 0.8046 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/1.073, allocations: 3.077 MB / 0.8076 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/1.073, allocations: 26.09 kB / 0.8076 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.073, allocations: 3.281 kB / 0.8076 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.073, allocations: 12.86 kB / 0.8076 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.084, allocations: 7.777 MB / 0.8152 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.084, allocations: 0 / 0.8152 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.085, allocations: 241.4 kB / 0.8155 GB, free: 73.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/1.087, allocations: 0.7462 MB / 0.8162 GB, free: 72.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.087, allocations: 31.02 kB / 0.8162 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00578/1.093, allocations: 5.622 MB / 0.8217 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.093, allocations: 0 / 0.8217 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006377/1.099, allocations: 5.67 MB / 0.8272 GB, free: 63.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000733/1.1, allocations: 370 kB / 0.8276 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/1.1, allocations: 27.95 kB / 0.8276 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.102, allocations: 96.86 kB / 0.8277 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.102, allocations: 87.44 kB / 0.8278 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.102, allocations: 40 kB / 0.8278 GB, free: 63.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002563/1.104, allocations: 2.172 MB / 0.83 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/1.104, allocations: 0 / 0.83 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003333/1.108, allocations: 0.8842 MB / 0.8308 GB, free: 60.64 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 () * 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.0003281/1.108, allocations: 162.2 kB / 0.831 GB, free: 60.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00555/1.114, allocations: 4.737 MB / 0.8356 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.114, allocations: 0 / 0.8356 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/1.116, allocations: 1.696 MB / 0.8373 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.118, allocations: 359.3 kB / 0.8376 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.128, allocations: 6.823 MB / 0.8443 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/1.131, allocations: 3.009 MB / 0.8472 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003999/1.135, allocations: 1.722 MB / 0.8489 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/1.136, allocations: 218.8 kB / 0.8491 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/1.136, allocations: 0 / 0.8491 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.05218/1.188, allocations: 32.56 MB / 0.8809 GB, free: 14.78 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches