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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008454, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 167.6 kB / 16.57 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 222.8 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4251/0.4251, allocations: 43.56 MB / 314.6 MB, free: 8.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006031/0.0006032, allocations: 18.97 kB / 384 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1667, allocations: 58.87 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3813/0.5481, allocations: 37.76 MB / 480.6 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.5737, allocations: 8.735 MB / 489.3 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01274/0.5865, allocations: 175.6 kB / 489.5 MB, free: 22.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008491/0.5951, allocations: 1.945 MB / 491.4 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02125/0.6164, allocations: 5.863 MB / 497.3 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.6201, allocations: 0.5773 MB / 497.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03359/0.6537, allocations: 18.43 MB / 0.5042 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008208/0.662, allocations: 3.689 MB / 0.5078 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.6656, allocations: 1.095 MB / 0.5089 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.6695, allocations: 1.738 MB / 0.5106 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008696/0.6704, allocations: 128.3 kB / 0.5107 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.6731, allocations: 0.9244 MB / 0.5116 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.6747, allocations: 1.496 MB / 0.5131 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.6757, allocations: 0.7649 MB / 0.5138 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007258/0.683, allocations: 5.187 MB / 0.5189 GB, free: 2.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.6831, allocations: 0 / 0.5189 GB, free: 2.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.6831, allocations: 4 kB / 0.5189 GB, free: 2.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002561/0.6834, allocations: 4 kB / 0.5189 GB, free: 2.316 MB / 382.1 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.009387/0.6928, allocations: 3.67 MB / 0.5225 GB, free: 14.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.6928, allocations: 8.031 kB / 0.5225 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/0.7018, allocations: 2.104 MB / 0.5245 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00781/0.7097, allocations: 2.422 MB / 0.5269 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.71, allocations: 205.3 kB / 0.5271 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.7112, allocations: 283.8 kB / 0.5274 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.7327, allocations: 9.267 MB / 0.5364 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.7329, allocations: 47.64 kB / 0.5364 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004218/0.7334, allocations: 131.9 kB / 0.5366 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003574/0.7369, allocations: 1.911 MB / 0.5384 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.7554, allocations: 8.141 MB / 0.5464 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/0.8154, allocations: 36.39 MB / 0.5819 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008964/0.8244, allocations: 3.694 MB / 0.5855 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.8278, allocations: 2.072 MB / 0.5876 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.8284, allocations: 343.9 kB / 0.5879 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.8285, allocations: 59.5 kB / 0.5879 GB, free: 9.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=156): time 5.29e-06/0.8285, allocations: 0 / 0.5879 GB, free: 9.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=177): time 0.04603/0.8745, allocations: 16.17 MB / 0.6037 GB, free: 9.281 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8747, allocations: 171.2 kB / 0.6039 GB, free: 9.078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/0.8824, allocations: 3.623 MB / 0.6074 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004232/0.8829, allocations: 53.61 kB / 0.6075 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.8854, allocations: 2.799 MB / 0.6102 GB, free: 2.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.8866, allocations: 0.6826 MB / 0.6109 GB, free: 1.875 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/0.8872, allocations: 116 kB / 0.611 GB, free: 1.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005637/0.8878, allocations: 0.5456 MB / 0.6115 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/0.8921, allocations: 2.272 MB / 0.6137 GB, free: 14.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/0.8997, allocations: 5.612 MB / 0.6192 GB, free: 7.641 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006236/0.9059, allocations: 3.51 MB / 0.6227 GB, free: 4.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.9061, allocations: 36 kB / 0.6227 GB, free: 4.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.3659/1.272, allocations: 8.718 MB / 0.6312 GB, free: 133.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.272, allocations: 56.25 kB / 0.6313 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/1.272, allocations: 116.4 kB / 0.6314 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.275, allocations: 1.245 MB / 0.6326 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004868/1.28, allocations: 1.29 MB / 0.6338 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009535/1.29, allocations: 7.154 MB / 0.6408 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/1.295, allocations: 330 kB / 0.6411 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009285/1.296, allocations: 344.4 kB / 0.6415 GB, free: 131.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 (690): * Single equations (assignments): 686 * 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.003702/1.3, allocations: 1.973 MB / 0.6434 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/1.301, allocations: 314.2 kB / 0.6437 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006452/1.307, allocations: 3.932 MB / 0.6475 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/1.307, allocations: 20.94 kB / 0.6476 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.307, allocations: 8.094 kB / 0.6476 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.307, allocations: 6.703 kB / 0.6476 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.325, allocations: 9.024 MB / 0.6564 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.325, allocations: 4.688 kB / 0.6564 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.327, allocations: 270.3 kB / 0.6566 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/1.33, allocations: 1.053 MB / 0.6577 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.331, allocations: 30.14 kB / 0.6577 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.341, allocations: 6.729 MB / 0.6643 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.341, allocations: 9.156 kB / 0.6643 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.355, allocations: 6.822 MB / 0.6709 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/1.357, allocations: 0.6792 MB / 0.6716 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.359, allocations: 28.94 kB / 0.6716 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.361, allocations: 118.4 kB / 0.6717 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005233/1.362, allocations: 106.4 kB / 0.6718 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002543/1.362, allocations: 44.16 kB / 0.6719 GB, free: 119.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00705/1.369, allocations: 2.265 MB / 0.6741 GB, free: 118.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.369, allocations: 0 / 0.6741 GB, free: 118.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007742/1.377, allocations: 0.9728 MB / 0.6751 GB, free: 118.3 MB / 494.1 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.0007394/1.378, allocations: 156.1 kB / 0.6752 GB, free: 118.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01077/1.388, allocations: 5.475 MB / 0.6805 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.388, allocations: 4 kB / 0.6806 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/1.392, allocations: 2.03 MB / 0.6825 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/1.396, allocations: 374.3 kB / 0.6829 GB, free: 115.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.42, allocations: 10.52 MB / 0.6932 GB, free: 108.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/1.424, allocations: 3.072 MB / 0.6962 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004826/1.429, allocations: 1.806 MB / 0.6979 GB, free: 105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/1.43, allocations: 233.5 kB / 0.6981 GB, free: 104.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/1.43, allocations: 0 / 0.6981 GB, free: 104.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06176/1.492, allocations: 35.87 MB / 0.7332 GB, free: 69.01 MB / 494.1 MB 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