Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1287, allocations: 66 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01251/0.1412, allocations: 9.509 MB / 0.5647 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008429/0.1497, allocations: 3.82 MB / 0.5684 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.1511, allocations: 59.75 kB / 0.5685 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004687/0.1557, allocations: 2.317 MB / 0.5707 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.1604, allocations: 1.646 MB / 0.5723 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1622, allocations: 0.694 MB / 0.573 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006568/0.1687, allocations: 3.813 MB / 0.5767 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005032/0.1738, allocations: 2.442 MB / 0.5791 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.1779, allocations: 1.312 MB / 0.5804 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.1826, allocations: 1.857 MB / 0.5822 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.1841, allocations: 288 kB / 0.5825 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.1878, allocations: 1.19 MB / 0.5836 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002725/0.1905, allocations: 1.624 MB / 0.5852 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003539/0.1941, allocations: 1.891 MB / 0.5871 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3278/0.5219, allocations: 6.293 MB / 0.5932 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5219, allocations: 0 / 0.5932 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5219, allocations: 1.797 kB / 0.5932 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002521/0.5221, allocations: 0 / 0.5932 GB, free: 14.51 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.01434/0.5365, allocations: 4.351 MB / 0.5975 GB, free: 12.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5365, allocations: 9.906 kB / 0.5975 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001745/0.5383, allocations: 0.6107 MB / 0.5981 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02435/0.5626, allocations: 3.764 MB / 0.6018 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.5698, allocations: 2.53 MB / 0.6042 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.5701, allocations: 192.5 kB / 0.6044 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.5715, allocations: 260.9 kB / 0.6047 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.5888, allocations: 8.529 MB / 0.613 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.589, allocations: 41.48 kB / 0.613 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/0.5896, allocations: 124.6 kB / 0.6131 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00354/0.5932, allocations: 1.735 MB / 0.6148 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.6076, allocations: 7.445 MB / 0.6221 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04964/0.6573, allocations: 33.9 MB / 0.6552 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008256/0.6655, allocations: 2.907 MB / 0.6581 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.6683, allocations: 1.695 MB / 0.6597 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.6688, allocations: 333.1 kB / 0.66 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.6688, allocations: 50.31 kB / 0.6601 GB, free: 2.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 5.551e-06/0.6688, allocations: 0 / 0.6601 GB, free: 2.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.04241/0.7112, allocations: 14.54 MB / 0.6743 GB, free: 4.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.7114, allocations: 171.2 kB / 0.6744 GB, free: 3.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/0.7178, allocations: 3.53 MB / 0.6779 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.7181, allocations: 48.12 kB / 0.6779 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00274/0.7208, allocations: 2.781 MB / 0.6806 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.7218, allocations: 0.6303 MB / 0.6813 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/0.7242, allocations: 1.074 MB / 0.6823 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7244, allocations: 305.1 kB / 0.6826 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/0.728, allocations: 2.017 MB / 0.6846 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/0.735, allocations: 5.215 MB / 0.6897 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.7464, allocations: 7.857 MB / 0.6973 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.7465, allocations: 32.98 kB / 0.6974 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01745/0.7639, allocations: 7.793 MB / 0.705 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.7641, allocations: 63.09 kB / 0.705 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/0.7644, allocations: 112 kB / 0.7051 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.7675, allocations: 0.9669 MB / 0.7061 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/0.772, allocations: 1.189 MB / 0.7072 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.7825, allocations: 6.914 MB / 0.714 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.7864, allocations: 295.6 kB / 0.7143 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008928/0.7873, allocations: 322.9 kB / 0.7146 GB, free: 8.211 MB / 0.5294 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.003648/0.791, allocations: 1.852 MB / 0.7164 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009294/0.7919, allocations: 321.8 kB / 0.7167 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00703/0.7989, allocations: 3.186 MB / 0.7198 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/0.799, allocations: 23.94 kB / 0.7198 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.799, allocations: 4 kB / 0.7198 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.799, allocations: 3.984 kB / 0.7198 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.8147, allocations: 7.816 MB / 0.7275 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.8147, allocations: 4 kB / 0.7275 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.8159, allocations: 227.6 kB / 0.7277 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.8183, allocations: 0.8085 MB / 0.7285 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.8185, allocations: 28 kB / 0.7285 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009988/0.8285, allocations: 6.497 MB / 0.7349 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.8285, allocations: 4.031 kB / 0.7349 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.8394, allocations: 5.82 MB / 0.7405 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/0.8403, allocations: 378.8 kB / 0.7409 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/0.841, allocations: 26.89 kB / 0.7409 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.8428, allocations: 91.86 kB / 0.741 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.8432, allocations: 92.77 kB / 0.7411 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.8434, allocations: 39.98 kB / 0.7411 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003954/0.8473, allocations: 2.205 MB / 0.7433 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8473, allocations: 0 / 0.7433 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005216/0.8525, allocations: 0.8593 MB / 0.7441 GB, free: 9.73 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.01098/0.8635, allocations: 6.466 MB / 0.7505 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009914/0.8734, allocations: 4.688 MB / 0.755 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.8734, allocations: 0 / 0.755 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.8774, allocations: 1.665 MB / 0.7567 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.8809, allocations: 397.1 kB / 0.757 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08142/0.9623, allocations: 40.8 MB / 0.7969 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004921/0.9672, allocations: 2.881 MB / 0.7997 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004619/0.9718, allocations: 1.713 MB / 0.8014 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/0.9749, allocations: 1.551 MB / 0.8029 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of SimCode: time 1.583e-06/0.9749, allocations: 0 / 0.8029 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/1.373, allocations: 63.01 MB / 0.8644 GB, free: 230.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/22.69, allocations: 3.5 kB / 0.8644 GB, free: 230.7 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 26.345474179135635]