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.0008979/0.0008978, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009984/0.0009983, allocations: 90 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.608e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1427, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.6357, allocations: 106 MB / 0.5982 GB, free: 6.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.636, allocations: 79.95 kB / 0.5983 GB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1959/0.8319, allocations: 76.28 MB / 0.6728 GB, free: 9.578 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.832, allocations: 3.938 kB / 0.6728 GB, free: 9.574 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001723/0.8322, allocations: 68 kB / 0.6729 GB, free: 9.508 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.01201/0.8442, allocations: 3.631 MB / 0.6764 GB, free: 5.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.8443, allocations: 11.98 kB / 0.6764 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.8617, allocations: 4.246 MB / 0.6806 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.8733, allocations: 4.271 MB / 0.6847 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.8735, allocations: 116 kB / 0.6848 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.8753, allocations: 212 kB / 0.685 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01119/0.8865, allocations: 5.304 MB / 0.6902 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.9044, allocations: 8.252 MB / 0.6983 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.9046, allocations: 59.47 kB / 0.6983 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/0.9052, allocations: 28 kB / 0.6984 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/0.9063, allocations: 0.8883 MB / 0.6992 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4198/1.326, allocations: 40.45 MB / 0.7387 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/1.331, allocations: 3.014 MB / 0.7417 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/1.333, allocations: 1.762 MB / 0.7434 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/1.334, allocations: 335.1 kB / 0.7437 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.334, allocations: 44.48 kB / 0.7438 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 4.99e-06/1.334, allocations: 7.266 kB / 0.7438 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.02712/1.361, allocations: 12.28 MB / 0.7558 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/1.361, allocations: 169.1 kB / 0.7559 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/1.365, allocations: 2.688 MB / 0.7585 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003218/1.366, allocations: 25.7 kB / 0.7586 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0019/1.368, allocations: 2.781 MB / 0.7613 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/1.368, allocations: 0.5948 MB / 0.7619 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/1.368, allocations: 0 / 0.7619 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002799/1.369, allocations: 0.5352 MB / 0.7624 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/1.371, allocations: 1.871 MB / 0.7642 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/1.374, allocations: 5.216 MB / 0.7693 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003606/1.378, allocations: 3.11 MB / 0.7723 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.658e-05/1.378, allocations: 35.78 kB / 0.7724 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01934/1.397, allocations: 7.054 MB / 0.7793 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/1.398, allocations: 59.86 kB / 0.7793 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003168/1.398, allocations: 120.8 kB / 0.7794 GB, free: 94.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003446/1.401, allocations: 0.9357 MB / 0.7804 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.408, allocations: 1.258 MB / 0.7816 GB, free: 93.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.418, allocations: 5.735 MB / 0.7872 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/1.425, allocations: 200.1 kB / 0.7874 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.427, allocations: 343.4 kB / 0.7877 GB, free: 90.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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 (662): * Single equations (assignments): 658 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001264/1.428, allocations: 405.9 kB / 0.7881 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/1.429, allocations: 281.4 kB / 0.7884 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007044/1.436, allocations: 2.975 MB / 0.7913 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/1.436, allocations: 19.09 kB / 0.7913 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.436, allocations: 7.516 kB / 0.7913 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/1.436, allocations: 7.359 kB / 0.7913 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.454, allocations: 7.006 MB / 0.7981 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.454, allocations: 4 kB / 0.7981 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/1.456, allocations: 241.6 kB / 0.7984 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.458, allocations: 0.7405 MB / 0.7991 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/1.459, allocations: 10.39 kB / 0.7991 GB, free: 86.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/1.468, allocations: 5.257 MB / 0.8042 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.468, allocations: 7.25 kB / 0.8042 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.478, allocations: 5.53 MB / 0.8096 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.48, allocations: 330.1 kB / 0.81 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/1.48, allocations: 0 / 0.81 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.482, allocations: 73.94 kB / 0.81 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.482, allocations: 95.58 kB / 0.8101 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.482, allocations: 39.08 kB / 0.8102 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003679/1.486, allocations: 1.789 MB / 0.8119 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/1.486, allocations: 0 / 0.8119 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007264/1.493, allocations: 0.7548 MB / 0.8126 GB, free: 78.51 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.0005405/1.494, allocations: 142.2 kB / 0.8128 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008914/1.503, allocations: 4.646 MB / 0.8173 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/1.503, allocations: 0 / 0.8173 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002941/1.506, allocations: 1.653 MB / 0.8189 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.508, allocations: 298.9 kB / 0.8192 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.525, allocations: 6.754 MB / 0.8258 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/1.529, allocations: 3.007 MB / 0.8288 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007413/1.536, allocations: 1.763 MB / 0.8305 GB, free: 63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.537, allocations: 201.8 kB / 0.8307 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of SimCode: time 3.616e-06/1.537, allocations: 4 kB / 0.8307 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.07962/1.617, allocations: 28.73 MB / 0.8587 GB, free: 40 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