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.00141/0.00141, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008465/0.0008465, allocations: 92.95 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 45.15 MB / 383.7 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.582e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 63.26 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5589, allocations: 106.9 MB / 0.6088 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.5592, allocations: 78.14 kB / 0.6089 GB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1899/0.7491, allocations: 77.09 MB / 0.6841 GB, free: 7.004 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7491, allocations: 0 / 0.6841 GB, free: 7.004 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.7493, allocations: 64 kB / 0.6842 GB, free: 6.941 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.009745/0.759, allocations: 3.67 MB / 0.6878 GB, free: 3.211 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.7591, allocations: 12.03 kB / 0.6878 GB, free: 3.199 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.7759, allocations: 4.246 MB / 0.6919 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.7867, allocations: 3.756 MB / 0.6956 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.7869, allocations: 116 kB / 0.6957 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.7883, allocations: 211.8 kB / 0.6959 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009456/0.7977, allocations: 5.3 MB / 0.7011 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.8133, allocations: 8.265 MB / 0.7092 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.8136, allocations: 55.47 kB / 0.7092 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006082/0.8142, allocations: 24 kB / 0.7092 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/0.8155, allocations: 0.8922 MB / 0.7101 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.8592, allocations: 40.46 MB / 0.7496 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2984/1.158, allocations: 3.008 MB / 0.7526 GB, free: 143 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.16, allocations: 1.753 MB / 0.7543 GB, free: 143 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/1.16, allocations: 339.6 kB / 0.7546 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.16, allocations: 50.3 kB / 0.7546 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=135): time 4.438e-06/1.16, allocations: 0 / 0.7546 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.0247/1.185, allocations: 12.28 MB / 0.7666 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.185, allocations: 172.4 kB / 0.7668 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/1.19, allocations: 2.687 MB / 0.7694 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.19, allocations: 26.7 kB / 0.7695 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/1.192, allocations: 2.782 MB / 0.7722 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/1.193, allocations: 0.5962 MB / 0.7728 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/1.193, allocations: 0 / 0.7728 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002064/1.193, allocations: 0.5385 MB / 0.7733 GB, free: 138 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.195, allocations: 1.865 MB / 0.7751 GB, free: 138 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/1.198, allocations: 5.222 MB / 0.7802 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/1.201, allocations: 3.11 MB / 0.7832 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.735e-05/1.201, allocations: 32.69 kB / 0.7833 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.00953/1.211, allocations: 7.054 MB / 0.7902 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/1.211, allocations: 63.8 kB / 0.7902 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.597e-05/1.211, allocations: 119.7 kB / 0.7903 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.213, allocations: 0.9366 MB / 0.7913 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.217, allocations: 1.256 MB / 0.7925 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/1.223, allocations: 5.734 MB / 0.7981 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/1.227, allocations: 197.9 kB / 0.7983 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007177/1.228, allocations: 341.8 kB / 0.7986 GB, free: 128.7 MB / 0.5261 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.000726/1.229, allocations: 404.3 kB / 0.799 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/1.229, allocations: 285.9 kB / 0.7993 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/1.234, allocations: 2.971 MB / 0.8022 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.234, allocations: 16.5 kB / 0.8022 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.234, allocations: 3.594 kB / 0.8022 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.234, allocations: 14.62 kB / 0.8022 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.245, allocations: 7.007 MB / 0.809 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.245, allocations: 3.281 kB / 0.809 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/1.246, allocations: 233.2 kB / 0.8093 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.247, allocations: 0.7504 MB / 0.81 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.247, allocations: 6.469 kB / 0.81 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/1.253, allocations: 5.26 MB / 0.8151 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.253, allocations: 0 / 0.8151 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/1.259, allocations: 5.536 MB / 0.8205 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008021/1.26, allocations: 326.7 kB / 0.8208 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.26, allocations: 4.312 kB / 0.8209 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.261, allocations: 69.03 kB / 0.8209 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.261, allocations: 85.83 kB / 0.821 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.262, allocations: 41.7 kB / 0.821 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002351/1.264, allocations: 1.79 MB / 0.8228 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.264, allocations: 0 / 0.8228 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004295/1.268, allocations: 0.764 MB / 0.8235 GB, free: 117.9 MB / 0.5261 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.0003619/1.269, allocations: 144.8 kB / 0.8237 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005861/1.275, allocations: 4.652 MB / 0.8282 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.275, allocations: 6.203 kB / 0.8282 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.277, allocations: 1.657 MB / 0.8298 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.279, allocations: 290.8 kB / 0.8301 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.289, allocations: 6.741 MB / 0.8367 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002462/1.292, allocations: 3.012 MB / 0.8396 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003947/1.296, allocations: 1.769 MB / 0.8414 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/1.296, allocations: 201.8 kB / 0.8416 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/1.296, allocations: 4 kB / 0.8416 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.04474/1.341, allocations: 28.7 MB / 0.8696 GB, free: 83.14 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