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.001043/0.001043, allocations: 197.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009655/0.0009656, allocations: 92.62 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3875/0.3875, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 62.96 MB / 0.5184 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5287, allocations: 107.6 MB / 0.6235 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5291, allocations: 79.95 kB / 0.6236 GB, free: 13.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4912/1.02, allocations: 77.11 MB / 0.6989 GB, free: 100.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.02, allocations: 5.703 kB / 0.6989 GB, free: 100.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000166/1.02, allocations: 65.66 kB / 0.699 GB, free: 100.5 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01407/1.035, allocations: 3.753 MB / 0.7026 GB, free: 98.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.035, allocations: 11.5 kB / 0.7026 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/1.05, allocations: 3.427 MB / 0.706 GB, free: 98.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009014/1.059, allocations: 3.123 MB / 0.709 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/1.059, allocations: 272.2 kB / 0.7093 GB, free: 97.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/1.061, allocations: 357.2 kB / 0.7096 GB, free: 97.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/1.082, allocations: 9.116 MB / 0.7185 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/1.082, allocations: 56.53 kB / 0.7186 GB, free: 95.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/1.083, allocations: 181.2 kB / 0.7188 GB, free: 94.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001236/1.084, allocations: 0.8845 MB / 0.7196 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/1.099, allocations: 7.634 MB / 0.7271 GB, free: 92.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/1.141, allocations: 42.1 MB / 0.7682 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006632/1.148, allocations: 3.382 MB / 0.7715 GB, free: 58.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.15, allocations: 1.806 MB / 0.7733 GB, free: 57.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/1.151, allocations: 331.9 kB / 0.7736 GB, free: 57.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.151, allocations: 43.16 kB / 0.7736 GB, free: 57.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 6.352e-06/1.151, allocations: 0 / 0.7736 GB, free: 57.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.03016/1.181, allocations: 13.88 MB / 0.7872 GB, free: 50.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.181, allocations: 175.1 kB / 0.7874 GB, free: 50.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/1.186, allocations: 3.531 MB / 0.7908 GB, free: 47.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004402/1.186, allocations: 48.56 kB / 0.7908 GB, free: 47.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001718/1.188, allocations: 2.72 MB / 0.7935 GB, free: 45.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/1.189, allocations: 0.607 MB / 0.7941 GB, free: 44.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/1.189, allocations: 108 kB / 0.7942 GB, free: 44.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002606/1.189, allocations: 0.5286 MB / 0.7947 GB, free: 44.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/1.192, allocations: 1.962 MB / 0.7966 GB, free: 42.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/1.196, allocations: 5.232 MB / 0.8017 GB, free: 35.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/1.203, allocations: 7.831 MB / 0.8094 GB, free: 26.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.446e-05/1.203, allocations: 36 kB / 0.8094 GB, free: 26.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01375/1.217, allocations: 7.721 MB / 0.817 GB, free: 18.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/1.217, allocations: 52 kB / 0.817 GB, free: 18.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/1.217, allocations: 117.1 kB / 0.8171 GB, free: 18.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.219, allocations: 0.9159 MB / 0.818 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.224, allocations: 1.212 MB / 0.8192 GB, free: 16.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/1.231, allocations: 6.097 MB / 0.8252 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.236, allocations: 299.4 kB / 0.8254 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.237, allocations: 327.7 kB / 0.8258 GB, free: 9.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 634 * 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.003744/1.241, allocations: 1.884 MB / 0.8276 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007227/1.242, allocations: 308 kB / 0.8279 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/1.246, allocations: 3.109 MB / 0.8309 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/1.246, allocations: 20 kB / 0.8309 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/1.246, allocations: 4 kB / 0.8309 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.246, allocations: 7.969 kB / 0.831 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.263, allocations: 7.786 MB / 0.8386 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.263, allocations: 0 / 0.8386 GB, free: 12.47 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.264, allocations: 247.6 kB / 0.8388 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/1.266, allocations: 0.7422 MB / 0.8395 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/1.266, allocations: 27.94 kB / 0.8395 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009107/1.276, allocations: 5.644 MB / 0.8451 GB, free: 5.691 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.276, allocations: 4 kB / 0.8451 GB, free: 5.688 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009382/1.285, allocations: 5.629 MB / 0.8506 GB, free: 40 kB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.286, allocations: 369 kB / 0.8509 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/1.287, allocations: 27.94 kB / 0.8509 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.288, allocations: 91.88 kB / 0.851 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.288, allocations: 84.81 kB / 0.8511 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.289, allocations: 40 kB / 0.8511 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004264/1.293, allocations: 2.206 MB / 0.8533 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.293, allocations: 0 / 0.8533 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006036/1.299, allocations: 0.8867 MB / 0.8542 GB, free: 12.33 MB / 0.5105 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 (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.0005835/1.299, allocations: 163.8 kB / 0.8543 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008905/1.308, allocations: 4.796 MB / 0.859 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.308, allocations: 0 / 0.859 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.311, allocations: 1.725 MB / 0.8607 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.315, allocations: 379.1 kB / 0.861 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.332, allocations: 9.661 MB / 0.8705 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/1.336, allocations: 2.925 MB / 0.8733 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00486/1.341, allocations: 1.722 MB / 0.875 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/1.341, allocations: 215.4 kB / 0.8752 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/1.341, allocations: 0 / 0.8752 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of Templates: time 0.3686/1.71, allocations: 32.63 MB / 0.9071 GB, free: 129.2 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/jenkins1/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