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.00105/0.00105, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.97/1.97, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008863/0.0008865, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2568/0.2568, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6103/0.7919, allocations: 105.7 MB / 0.582 GB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.7922, allocations: 78 kB / 0.582 GB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2054/0.9976, allocations: 80.84 MB / 0.661 GB, free: 1.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.9977, allocations: 0 / 0.661 GB, free: 1.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001738/0.9978, allocations: 76 kB / 0.6611 GB, free: 1.324 MB / 458.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.01412/1.012, allocations: 4.039 MB / 0.665 GB, free: 13.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.012, allocations: 8.031 kB / 0.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/1.03, allocations: 4.281 MB / 0.6692 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/1.045, allocations: 4.537 MB / 0.6736 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/1.045, allocations: 287.5 kB / 0.6739 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/1.047, allocations: 379.8 kB / 0.6743 GB, free: 3.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.066, allocations: 9.638 MB / 0.6837 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.066, allocations: 59.48 kB / 0.6837 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005299/1.067, allocations: 187.9 kB / 0.6839 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/1.068, allocations: 0.9473 MB / 0.6848 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/1.084, allocations: 8.14 MB / 0.6928 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3619/1.446, allocations: 43.78 MB / 0.7355 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/1.456, allocations: 3.69 MB / 0.7391 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/1.456, allocations: 344 kB / 0.7395 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/1.456, allocations: 47.12 kB / 0.7395 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.771e-06/1.456, allocations: 1.469 kB / 0.7395 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.03556/1.492, allocations: 15.24 MB / 0.7544 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/1.492, allocations: 169.3 kB / 0.7546 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/1.497, allocations: 3.24 MB / 0.7577 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/1.497, allocations: 52.83 kB / 0.7578 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.499, allocations: 2.836 MB / 0.7605 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/1.5, allocations: 0.6757 MB / 0.7612 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.5, allocations: 113.2 kB / 0.7613 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.5, allocations: 0.536 MB / 0.7618 GB, free: 87.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.503, allocations: 2.131 MB / 0.7639 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/1.507, allocations: 5.458 MB / 0.7692 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/1.512, allocations: 3.359 MB / 0.7725 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/1.512, allocations: 33.78 kB / 0.7726 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01561/1.527, allocations: 8.145 MB / 0.7805 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.108e-05/1.527, allocations: 56.62 kB / 0.7806 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/1.528, allocations: 118.7 kB / 0.7807 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/1.53, allocations: 0.9378 MB / 0.7816 GB, free: 80.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.534, allocations: 1.279 MB / 0.7828 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/1.541, allocations: 6.275 MB / 0.789 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/1.546, allocations: 317.9 kB / 0.7893 GB, free: 76.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009347/1.547, allocations: 339.5 kB / 0.7896 GB, free: 76.3 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 () * Number of clocked 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.00385/1.55, allocations: 1.972 MB / 0.7915 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.551, allocations: 319.6 kB / 0.7918 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/1.557, allocations: 3.463 MB / 0.7952 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/1.557, allocations: 20.78 kB / 0.7952 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.557, allocations: 3.531 kB / 0.7952 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.557, allocations: 14.55 kB / 0.7952 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/1.572, allocations: 8.485 MB / 0.8035 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.572, allocations: 7.594 kB / 0.8035 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.574, allocations: 284.5 kB / 0.8038 GB, free: 70.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.575, allocations: 0.7529 MB / 0.8045 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/1.576, allocations: 35.59 kB / 0.8046 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006579/1.582, allocations: 5.794 MB / 0.8102 GB, free: 67.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.582, allocations: 6.688 kB / 0.8102 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007923/1.59, allocations: 6.281 MB / 0.8164 GB, free: 62.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.592, allocations: 0.6675 MB / 0.817 GB, free: 62.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/1.592, allocations: 28 kB / 0.8171 GB, free: 62.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.594, allocations: 99.34 kB / 0.8172 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/1.594, allocations: 101.6 kB / 0.8173 GB, free: 61.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.594, allocations: 40 kB / 0.8173 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003304/1.597, allocations: 2.271 MB / 0.8195 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/1.597, allocations: 0 / 0.8195 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00494/1.602, allocations: 0.9358 MB / 0.8204 GB, free: 59.06 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 () * Number of clocked 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.0004866/1.603, allocations: 165.6 kB / 0.8206 GB, free: 58.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007067/1.61, allocations: 5.163 MB / 0.8256 GB, free: 54.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.61, allocations: 0 / 0.8256 GB, free: 54.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.613, allocations: 1.902 MB / 0.8275 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.615, allocations: 373.6 kB / 0.8278 GB, free: 52.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.63, allocations: 10.3 MB / 0.8379 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/1.633, allocations: 3.15 MB / 0.841 GB, free: 40.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004563/1.637, allocations: 1.81 MB / 0.8427 GB, free: 39.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007706/1.638, allocations: 221.9 kB / 0.8429 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/1.638, allocations: 4 kB / 0.8429 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.05789/1.696, allocations: 34.6 MB / 0.8767 GB, free: 7.91 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