Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008973/0.0008971, allocations: 181.5 kB / 17.41 MB, free: 4.164 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.329/1.329, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0008339/0.0008337, allocations: 85.36 kB / 271.9 MB, free: 8.25 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.3479/0.3479, allocations: 43.55 MB / 363.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 16 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4408, allocations: 105.9 MB / 0.5833 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4411, allocations: 71.97 kB / 0.5834 GB, free: 12.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2047/0.6458, allocations: 79.84 MB / 0.6613 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6459, allocations: 0 / 0.6613 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.646, allocations: 72 kB / 0.6614 GB, free: 12.05 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01047/0.6565, allocations: 3.871 MB / 0.6652 GB, free: 8.113 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6566, allocations: 12.03 kB / 0.6652 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.6712, allocations: 3.462 MB / 0.6686 GB, free: 4.629 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007853/0.6791, allocations: 3.473 MB / 0.672 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.6794, allocations: 291.8 kB / 0.6723 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.6809, allocations: 376.2 kB / 0.6726 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2461/0.927, allocations: 9.587 MB / 0.682 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.9273, allocations: 59.97 kB / 0.682 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008461/0.9282, allocations: 186 kB / 0.6822 GB, free: 90.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/0.9294, allocations: 0.943 MB / 0.6831 GB, free: 90.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.9445, allocations: 8.061 MB / 0.691 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/0.9884, allocations: 43.77 MB / 0.7337 GB, free: 62.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007907/0.9964, allocations: 3.609 MB / 0.7373 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.9992, allocations: 1.968 MB / 0.7392 GB, free: 59.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.9996, allocations: 330.8 kB / 0.7395 GB, free: 59.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.9997, allocations: 58.8 kB / 0.7396 GB, free: 59.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 5.019e-06/0.9997, allocations: 0 / 0.7396 GB, free: 59.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.03396/1.034, allocations: 14.68 MB / 0.7539 GB, free: 53.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.034, allocations: 175.4 kB / 0.7541 GB, free: 53.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/1.039, allocations: 3.624 MB / 0.7576 GB, free: 52.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.04, allocations: 53.48 kB / 0.7577 GB, free: 52.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.041, allocations: 2.84 MB / 0.7604 GB, free: 50.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/1.042, allocations: 0.6732 MB / 0.7611 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.042, allocations: 113.9 kB / 0.7612 GB, free: 49.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/1.042, allocations: 0.5353 MB / 0.7617 GB, free: 49.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.045, allocations: 2.132 MB / 0.7638 GB, free: 48.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/1.049, allocations: 5.476 MB / 0.7691 GB, free: 43.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007743/1.057, allocations: 8.274 MB / 0.7772 GB, free: 36.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.935e-05/1.057, allocations: 42.5 kB / 0.7773 GB, free: 36.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01386/1.071, allocations: 8.143 MB / 0.7852 GB, free: 33.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/1.071, allocations: 58.88 kB / 0.7853 GB, free: 33.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/1.071, allocations: 118.6 kB / 0.7854 GB, free: 33.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/1.073, allocations: 0.9101 MB / 0.7863 GB, free: 33.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/1.078, allocations: 1.288 MB / 0.7875 GB, free: 32.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/1.084, allocations: 6.112 MB / 0.7935 GB, free: 29.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/1.088, allocations: 319.1 kB / 0.7938 GB, free: 29.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007182/1.089, allocations: 342.1 kB / 0.7941 GB, free: 29.41 MB / 490.7 MB 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.003434/1.093, allocations: 1.965 MB / 0.7961 GB, free: 28.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/1.093, allocations: 318.9 kB / 0.7964 GB, free: 28.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/1.099, allocations: 3.458 MB / 0.7997 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.099, allocations: 16.81 kB / 0.7998 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.099, allocations: 10.19 kB / 0.7998 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/1.099, allocations: 7.781 kB / 0.7998 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.112, allocations: 8.506 MB / 0.8081 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.113, allocations: 0 / 0.8081 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.114, allocations: 283.5 kB / 0.8083 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.116, allocations: 0.7579 MB / 0.8091 GB, free: 21.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.116, allocations: 28 kB / 0.8091 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/1.122, allocations: 5.635 MB / 0.8146 GB, free: 16.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.122, allocations: 3.938 kB / 0.8146 GB, free: 16.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007857/1.13, allocations: 6.221 MB / 0.8207 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.132, allocations: 0.6519 MB / 0.8213 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000862/1.132, allocations: 31.36 kB / 0.8214 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.134, allocations: 104.6 kB / 0.8215 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/1.135, allocations: 99.11 kB / 0.8216 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.135, allocations: 48 kB / 0.8216 GB, free: 10.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003462/1.138, allocations: 2.268 MB / 0.8238 GB, free: 8.309 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.138, allocations: 0 / 0.8238 GB, free: 8.309 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005156/1.143, allocations: 0.9422 MB / 0.8247 GB, free: 7.371 MB / 490.7 MB 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.0004552/1.144, allocations: 159 kB / 0.8249 GB, free: 7.219 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007694/1.152, allocations: 5.172 MB / 0.8299 GB, free: 2.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.152, allocations: 4.125 kB / 0.8299 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/1.154, allocations: 1.899 MB / 0.8318 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.157, allocations: 388.6 kB / 0.8322 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.175, allocations: 10.87 MB / 0.8428 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.179, allocations: 3.071 MB / 0.8458 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.18, allocations: 266.9 kB / 0.846 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/1.18, allocations: 0 / 0.846 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of Templates: time 0.3153/1.495, allocations: 71.52 MB / 0.9159 GB, free: 104.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches