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.001398/0.001398, allocations: 114 kB / 20.43 MB, free: 1.457 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.001468/0.001468, allocations: 213.7 kB / 23.74 MB, free: 4.672 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.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 8 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.2503/0.2503, allocations: 46.93 MB / 360.8 MB, free: 4.266 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.365, allocations: 66.09 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01419/0.3792, allocations: 9.522 MB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009137/0.3884, allocations: 3.859 MB / 0.5738 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3901, allocations: 63.69 kB / 0.5739 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.3956, allocations: 2.324 MB / 0.5761 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.401, allocations: 1.65 MB / 0.5778 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.4031, allocations: 0.7017 MB / 0.5784 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006352/0.4095, allocations: 3.809 MB / 0.5822 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.4134, allocations: 2.312 MB / 0.5844 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.4159, allocations: 1.312 MB / 0.5857 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.4194, allocations: 1.865 MB / 0.5875 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001033/0.4205, allocations: 284 kB / 0.5878 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.4233, allocations: 1.198 MB / 0.589 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.4256, allocations: 1.624 MB / 0.5905 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003346/0.4289, allocations: 1.887 MB / 0.5924 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008942/0.4379, allocations: 6.304 MB / 0.5985 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4379, allocations: 0 / 0.5985 GB, free: 13.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4379, allocations: 0 / 0.5985 GB, free: 13.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.4381, allocations: 0 / 0.5985 GB, free: 13.4 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.0109/0.449, allocations: 4.272 MB / 0.6027 GB, free: 9.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.449, allocations: 12.03 kB / 0.6027 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/0.4501, allocations: 0.6121 MB / 0.6033 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0208/0.4709, allocations: 3.766 MB / 0.607 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006755/0.4777, allocations: 2.463 MB / 0.6094 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.4779, allocations: 193.3 kB / 0.6096 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008215/0.4787, allocations: 267.8 kB / 0.6098 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.4943, allocations: 8.514 MB / 0.6182 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.4944, allocations: 43.64 kB / 0.6182 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.4947, allocations: 123.9 kB / 0.6183 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003311/0.498, allocations: 1.743 MB / 0.62 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.513, allocations: 7.447 MB / 0.6273 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.5619, allocations: 33.81 MB / 0.6603 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007413/0.5693, allocations: 2.451 MB / 0.6627 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.572, allocations: 1.715 MB / 0.6644 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.5724, allocations: 104.5 kB / 0.6645 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/0.5724, allocations: 43.22 kB / 0.6645 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.21e-06/0.5724, allocations: 0 / 0.6645 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03876/0.6112, allocations: 14.25 MB / 0.6784 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.6114, allocations: 183.1 kB / 0.6786 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006771/0.6181, allocations: 3.526 MB / 0.6821 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/0.6185, allocations: 45.7 kB / 0.6821 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002579/0.6211, allocations: 2.769 MB / 0.6848 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.6221, allocations: 0.628 MB / 0.6854 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002562/0.6247, allocations: 1.072 MB / 0.6865 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6248, allocations: 301.1 kB / 0.6868 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/0.6284, allocations: 2.013 MB / 0.6887 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006649/0.635, allocations: 5.226 MB / 0.6938 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.6474, allocations: 7.848 MB / 0.7015 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.6475, allocations: 36 kB / 0.7015 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01655/0.6641, allocations: 7.807 MB / 0.7091 GB, free: 6.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.6642, allocations: 52 kB / 0.7092 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.6644, allocations: 116 kB / 0.7093 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.6669, allocations: 0.9665 MB / 0.7102 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/0.671, allocations: 1.189 MB / 0.7114 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.6812, allocations: 6.805 MB / 0.7181 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/0.6852, allocations: 307.9 kB / 0.7183 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.6863, allocations: 320 kB / 0.7187 GB, free: 13.11 MB / 0.5606 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.003749/0.69, allocations: 1.844 MB / 0.7205 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007582/0.6908, allocations: 321.8 kB / 0.7208 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006448/0.6972, allocations: 3.186 MB / 0.7239 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.702e-05/0.6973, allocations: 16 kB / 0.7239 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.6973, allocations: 8 kB / 0.7239 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6973, allocations: 11.97 kB / 0.7239 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2843/0.9816, allocations: 7.77 MB / 0.7315 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.9816, allocations: 1.844 kB / 0.7315 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.9831, allocations: 232.7 kB / 0.7317 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/0.9858, allocations: 0.8095 MB / 0.7325 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/0.9861, allocations: 28.56 kB / 0.7325 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/0.9936, allocations: 6.379 MB / 0.7388 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9936, allocations: 192 / 0.7388 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006908/1.001, allocations: 5.822 MB / 0.7445 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009811/1.001, allocations: 302.6 kB / 0.7447 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.002, allocations: 31.91 kB / 0.7448 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.003, allocations: 92.06 kB / 0.7449 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/1.003, allocations: 93.23 kB / 0.7449 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.003, allocations: 40.31 kB / 0.745 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002899/1.006, allocations: 2.207 MB / 0.7471 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/1.006, allocations: 2.219 kB / 0.7471 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005174/1.011, allocations: 0.858 MB / 0.748 GB, free: 146.1 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.007228/1.019, allocations: 6.461 MB / 0.7543 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006246/1.025, allocations: 4.697 MB / 0.7589 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.025, allocations: 0 / 0.7589 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.027, allocations: 1.654 MB / 0.7605 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.029, allocations: 403.6 kB / 0.7609 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04634/1.076, allocations: 40.87 MB / 0.8008 GB, free: 91.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/1.078, allocations: 2.885 MB / 0.8036 GB, free: 88.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003259/1.082, allocations: 1.705 MB / 0.8053 GB, free: 86.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/1.084, allocations: 1.561 MB / 0.8068 GB, free: 85.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.084, allocations: 0 / 0.8068 GB, free: 85.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/1.233, allocations: 67.37 MB / 0.8726 GB, free: 18.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24, allocations: 18.05 kB / 0.8726 GB, free: 18.09 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.64799794787541]