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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 79.84 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3435, allocations: 66.09 MB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01105/0.3546, allocations: 8.32 MB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007451/0.362, allocations: 3.598 MB / 0.5731 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.3631, allocations: 67.69 kB / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004437/0.3676, allocations: 2.223 MB / 0.5753 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.3716, allocations: 1.662 MB / 0.5769 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3732, allocations: 0.694 MB / 0.5776 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005154/0.3784, allocations: 3.802 MB / 0.5813 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.3812, allocations: 2.316 MB / 0.5836 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.383, allocations: 1.312 MB / 0.5849 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.3855, allocations: 1.869 MB / 0.5867 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005327/0.3861, allocations: 284 kB / 0.587 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.388, allocations: 1.065 MB / 0.588 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.3896, allocations: 1.62 MB / 0.5896 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3913, allocations: 1.386 MB / 0.591 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007204/0.3985, allocations: 6.327 MB / 0.5971 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3985, allocations: 4 kB / 0.5971 GB, free: 15.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3985, allocations: 0 / 0.5971 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001448/0.3986, allocations: 4 kB / 0.5971 GB, free: 15.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.009807/0.4084, allocations: 4.28 MB / 0.6013 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4085, allocations: 8.031 kB / 0.6013 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001234/0.4086, allocations: 85.25 kB / 0.6014 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009115/0.4095, allocations: 0.6082 MB / 0.602 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/0.4314, allocations: 3.762 MB / 0.6057 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/0.4372, allocations: 2.482 MB / 0.6081 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.4373, allocations: 193.1 kB / 0.6083 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006159/0.438, allocations: 255.8 kB / 0.6085 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.4522, allocations: 8.559 MB / 0.6169 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.4523, allocations: 43.62 kB / 0.6169 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.4527, allocations: 127.8 kB / 0.617 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003136/0.4558, allocations: 1.735 MB / 0.6187 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4698, allocations: 7.435 MB / 0.626 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/0.5152, allocations: 32.46 MB / 0.6577 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007605/0.5228, allocations: 2.454 MB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/0.5261, allocations: 1.708 MB / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.5265, allocations: 88.59 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.125e-05/0.5266, allocations: 55.16 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 7.353e-06/0.5266, allocations: 0 / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04087/0.5675, allocations: 14.31 MB / 0.6759 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.5677, allocations: 167.2 kB / 0.676 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006212/0.5739, allocations: 3.534 MB / 0.6795 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/0.5742, allocations: 49.7 kB / 0.6795 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.5766, allocations: 2.773 MB / 0.6822 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009216/0.5776, allocations: 0.628 MB / 0.6829 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.5793, allocations: 1.072 MB / 0.6839 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5794, allocations: 301.1 kB / 0.6842 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/0.5826, allocations: 2.013 MB / 0.6862 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006179/0.5888, allocations: 5.251 MB / 0.6913 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.5992, allocations: 7.852 MB / 0.6989 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/0.5993, allocations: 32 kB / 0.699 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01566/0.615, allocations: 7.799 MB / 0.7066 GB, free: 10.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.6151, allocations: 53.72 kB / 0.7066 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/0.6153, allocations: 112 kB / 0.7068 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/0.6178, allocations: 0.9667 MB / 0.7077 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/0.6219, allocations: 1.189 MB / 0.7089 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009687/0.6316, allocations: 6.742 MB / 0.7154 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/0.636, allocations: 303.5 kB / 0.7157 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009696/0.637, allocations: 324 kB / 0.716 GB, free: 276 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,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 (630): * Single equations (assignments): 626 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004694/0.6417, allocations: 1.848 MB / 0.7178 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008662/0.6426, allocations: 317.9 kB / 0.7181 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006609/0.6492, allocations: 3.182 MB / 0.7213 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.6492, allocations: 20 kB / 0.7213 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.6492, allocations: 8 kB / 0.7213 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.6492, allocations: 11.95 kB / 0.7213 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.6656, allocations: 7.427 MB / 0.7285 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.6656, allocations: 0 / 0.7285 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.6668, allocations: 231.6 kB / 0.7288 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.6692, allocations: 0.8046 MB / 0.7296 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.6695, allocations: 28 kB / 0.7296 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2721/0.9416, allocations: 6.323 MB / 0.7358 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9416, allocations: 0 / 0.7358 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/0.9485, allocations: 5.832 MB / 0.7415 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/0.9494, allocations: 295.3 kB / 0.7417 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.9498, allocations: 23.78 kB / 0.7418 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.9509, allocations: 91.97 kB / 0.7418 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.9512, allocations: 95.08 kB / 0.7419 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9513, allocations: 35.41 kB / 0.742 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002832/0.9541, allocations: 2.209 MB / 0.7441 GB, free: 150 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9541, allocations: 1.875 kB / 0.7441 GB, free: 150 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004329/0.9584, allocations: 0.8614 MB / 0.745 GB, free: 149.9 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006945/0.9654, allocations: 6.463 MB / 0.7513 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006437/0.9718, allocations: 4.696 MB / 0.7559 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.9718, allocations: 0 / 0.7559 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.974, allocations: 1.661 MB / 0.7575 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.9762, allocations: 400.6 kB / 0.7579 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04084/1.017, allocations: 40.87 MB / 0.7978 GB, free: 94.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/1.019, allocations: 2.334 MB / 0.8001 GB, free: 92.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00288/1.022, allocations: 1.711 MB / 0.8017 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.023, allocations: 1.558 MB / 0.8033 GB, free: 88.82 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.023, allocations: 0 / 0.8033 GB, free: 88.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09296/1.116, allocations: 65.25 MB / 0.867 GB, free: 24.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.66/23.78, allocations: 8.047 kB / 0.867 GB, free: 24.19 MB / 0.5606 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.86517417000141]