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.0009276/0.0009272, allocations: 176.2 kB / 16.77 MB, free: 5.027 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.402/1.402, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0007333/0.0007333, allocations: 78.42 kB / 271.2 MB, free: 8.246 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.3765/0.3765, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3756/0.5047, allocations: 105.8 MB / 0.5833 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.505, allocations: 79.95 kB / 0.5834 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2068/0.7117, allocations: 79.85 MB / 0.6614 GB, free: 11.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7118, allocations: 0 / 0.6614 GB, free: 11.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.712, allocations: 76 kB / 0.6614 GB, free: 11.64 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.01384/0.7259, allocations: 3.871 MB / 0.6652 GB, free: 7.703 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.7259, allocations: 8.031 kB / 0.6652 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.7405, allocations: 3.462 MB / 0.6686 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009116/0.7496, allocations: 3.465 MB / 0.672 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/0.7502, allocations: 283.9 kB / 0.6723 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.7527, allocations: 396.1 kB / 0.6726 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2659/1.019, allocations: 9.582 MB / 0.682 GB, free: 91.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/1.019, allocations: 62.55 kB / 0.6821 GB, free: 91.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006471/1.02, allocations: 187.2 kB / 0.6822 GB, free: 91.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/1.021, allocations: 0.9408 MB / 0.6832 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.035, allocations: 8.058 MB / 0.691 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04464/1.079, allocations: 43.77 MB / 0.7338 GB, free: 63.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007686/1.087, allocations: 3.612 MB / 0.7373 GB, free: 61.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/1.09, allocations: 1.97 MB / 0.7392 GB, free: 60.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/1.09, allocations: 340.8 kB / 0.7395 GB, free: 60.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.09, allocations: 49.55 kB / 0.7396 GB, free: 60.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 4.629e-06/1.09, allocations: 1.188 kB / 0.7396 GB, free: 60.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=177): time 0.0322/1.122, allocations: 14.68 MB / 0.7539 GB, free: 54.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/1.123, allocations: 173.4 kB / 0.7541 GB, free: 54.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.128, allocations: 3.627 MB / 0.7576 GB, free: 53.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004141/1.128, allocations: 47.52 kB / 0.7577 GB, free: 52.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.13, allocations: 2.85 MB / 0.7605 GB, free: 50.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008429/1.131, allocations: 0.6727 MB / 0.7611 GB, free: 50.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.131, allocations: 111.5 kB / 0.7612 GB, free: 50.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/1.131, allocations: 0.5316 MB / 0.7617 GB, free: 49.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.134, allocations: 2.13 MB / 0.7638 GB, free: 49.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/1.138, allocations: 5.481 MB / 0.7692 GB, free: 43.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007994/1.146, allocations: 8.27 MB / 0.7773 GB, free: 37.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.681e-05/1.146, allocations: 34.67 kB / 0.7773 GB, free: 37.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01397/1.16, allocations: 8.155 MB / 0.7852 GB, free: 33.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/1.161, allocations: 55.84 kB / 0.7853 GB, free: 33.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.161, allocations: 118.2 kB / 0.7854 GB, free: 33.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/1.163, allocations: 0.9113 MB / 0.7863 GB, free: 33.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.167, allocations: 1.282 MB / 0.7876 GB, free: 33.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/1.174, allocations: 6.114 MB / 0.7935 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/1.179, allocations: 310.4 kB / 0.7938 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000868/1.179, allocations: 346.2 kB / 0.7942 GB, free: 30.07 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.003468/1.183, allocations: 1.967 MB / 0.7961 GB, free: 29.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/1.184, allocations: 320.7 kB / 0.7964 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/1.189, allocations: 3.463 MB / 0.7998 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/1.189, allocations: 23.03 kB / 0.7998 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.189, allocations: 6.844 kB / 0.7998 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.189, allocations: 7.266 kB / 0.7998 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/1.202, allocations: 8.5 MB / 0.8081 GB, free: 23.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.202, allocations: 0 / 0.8081 GB, free: 23.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.203, allocations: 287.3 kB / 0.8084 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/1.205, allocations: 0.7484 MB / 0.8091 GB, free: 22.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/1.205, allocations: 31.56 kB / 0.8091 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006085/1.211, allocations: 5.646 MB / 0.8146 GB, free: 17.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.211, allocations: 0.75 kB / 0.8146 GB, free: 17.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/1.219, allocations: 6.221 MB / 0.8207 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/1.221, allocations: 0.6678 MB / 0.8214 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.221, allocations: 28 kB / 0.8214 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.223, allocations: 99.67 kB / 0.8215 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/1.223, allocations: 96.84 kB / 0.8216 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.223, allocations: 44 kB / 0.8216 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003651/1.227, allocations: 2.27 MB / 0.8238 GB, free: 9.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.227, allocations: 4 kB / 0.8239 GB, free: 9.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005379/1.232, allocations: 0.9342 MB / 0.8248 GB, free: 8.125 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.0005629/1.233, allocations: 162.5 kB / 0.8249 GB, free: 7.969 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007978/1.241, allocations: 5.17 MB / 0.83 GB, free: 3.395 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.241, allocations: 0 / 0.83 GB, free: 3.395 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00278/1.243, allocations: 1.903 MB / 0.8318 GB, free: 1.727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.247, allocations: 376.7 kB / 0.8322 GB, free: 1.398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.266, allocations: 10.41 MB / 0.8423 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005417/1.271, allocations: 3.065 MB / 0.8453 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005382/1.277, allocations: 1.811 MB / 0.8471 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/1.278, allocations: 229.9 kB / 0.8473 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of SimCode: time 2.976e-06/1.278, allocations: 0 / 0.8473 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of Templates: time 0.3264/1.604, allocations: 34.68 MB / 0.8812 GB, free: 111.1 MB / 0.5105 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/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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches