Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008739/0.000874, allocations: 89.31 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3205/0.3205, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.149e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 58.84 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4479, allocations: 105.6 MB / 0.5759 GB, free: 312 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4482, allocations: 80.78 kB / 0.576 GB, free: 276 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1924/0.6406, allocations: 80.88 MB / 0.655 GB, free: 8.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6406, allocations: 0 / 0.655 GB, free: 8.203 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.6408, allocations: 76 kB / 0.6551 GB, free: 8.129 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.008721/0.6495, allocations: 3.778 MB / 0.6588 GB, free: 4.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6495, allocations: 8.031 kB / 0.6588 GB, free: 4.285 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.6657, allocations: 4.287 MB / 0.6629 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.6772, allocations: 4.537 MB / 0.6674 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.6775, allocations: 283.5 kB / 0.6676 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.679, allocations: 379.8 kB / 0.668 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.695, allocations: 9.572 MB / 0.6774 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.6951, allocations: 55.47 kB / 0.6774 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/0.6956, allocations: 187.9 kB / 0.6776 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.6968, allocations: 0.9435 MB / 0.6785 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.7109, allocations: 8.02 MB / 0.6863 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2581/0.969, allocations: 43.78 MB / 0.7291 GB, free: 72.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/0.9753, allocations: 3.654 MB / 0.7327 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.9771, allocations: 1.951 MB / 0.7346 GB, free: 71.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.9774, allocations: 333.2 kB / 0.7349 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.9774, allocations: 54.72 kB / 0.7349 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.209e-06/0.9774, allocations: 2.094 kB / 0.7349 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.02576/1.003, allocations: 12.91 MB / 0.7476 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.003, allocations: 174.2 kB / 0.7477 GB, free: 68.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/1.007, allocations: 3.206 MB / 0.7508 GB, free: 68.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003285/1.008, allocations: 52.64 kB / 0.7509 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.009, allocations: 2.834 MB / 0.7537 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009706/1.01, allocations: 0.6771 MB / 0.7543 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/1.01, allocations: 109.2 kB / 0.7544 GB, free: 66.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003607/1.011, allocations: 0.5363 MB / 0.755 GB, free: 66.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/1.014, allocations: 2.086 MB / 0.757 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/1.018, allocations: 5.411 MB / 0.7623 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/1.022, allocations: 3.348 MB / 0.7655 GB, free: 61.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.868e-05/1.022, allocations: 39.3 kB / 0.7656 GB, free: 61.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01352/1.036, allocations: 8.066 MB / 0.7735 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.036, allocations: 63.83 kB / 0.7735 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/1.036, allocations: 118.3 kB / 0.7736 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/1.038, allocations: 0.9276 MB / 0.7745 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/1.042, allocations: 1.286 MB / 0.7758 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007308/1.05, allocations: 6.083 MB / 0.7817 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.054, allocations: 318.5 kB / 0.782 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.055, allocations: 342.7 kB / 0.7824 GB, free: 54.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],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 (673): * Single equations (assignments): 669 * 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.001448/1.057, allocations: 0.5251 MB / 0.7829 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007293/1.058, allocations: 320 kB / 0.7832 GB, free: 54.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/1.063, allocations: 3.42 MB / 0.7865 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.063, allocations: 17.91 kB / 0.7865 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.063, allocations: 15.06 kB / 0.7866 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.063, allocations: 6.938 kB / 0.7866 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.079, allocations: 8.467 MB / 0.7948 GB, free: 49.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.079, allocations: 3.812 kB / 0.7948 GB, free: 49.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.08, allocations: 286.9 kB / 0.7951 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.082, allocations: 0.7455 MB / 0.7958 GB, free: 49.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/1.082, allocations: 34.84 kB / 0.7959 GB, free: 49.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00597/1.088, allocations: 5.62 MB / 0.8014 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.088, allocations: 2.938 kB / 0.8014 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/1.095, allocations: 6.229 MB / 0.8074 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.097, allocations: 0.659 MB / 0.8081 GB, free: 43.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000833/1.098, allocations: 34.55 kB / 0.8081 GB, free: 43.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.1, allocations: 107.6 kB / 0.8082 GB, free: 43.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.1, allocations: 94.5 kB / 0.8083 GB, free: 43.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.1, allocations: 45.53 kB / 0.8084 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004161/1.104, allocations: 2.241 MB / 0.8105 GB, free: 42.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/1.104, allocations: 0 / 0.8105 GB, free: 42.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005241/1.11, allocations: 0.935 MB / 0.8115 GB, free: 42.33 MB / 0.4948 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 (137): * Single equations (assignments): 133 * 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.0005658/1.11, allocations: 170.3 kB / 0.8116 GB, free: 42.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007689/1.118, allocations: 5.094 MB / 0.8166 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.118, allocations: 0 / 0.8166 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.121, allocations: 1.873 MB / 0.8184 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.123, allocations: 359.7 kB / 0.8188 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/1.135, allocations: 7.315 MB / 0.8259 GB, free: 36.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003713/1.139, allocations: 3.136 MB / 0.829 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004445/1.144, allocations: 1.818 MB / 0.8307 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/1.145, allocations: 230.9 kB / 0.831 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/1.145, allocations: 3.938 kB / 0.831 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.054/1.199, allocations: 34.62 MB / 0.8648 GB, free: 8.613 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches