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.001413/0.001413, 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.00138/0.00138, 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.506/1.506, 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.237/0.237, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.00189/0.00189, allocations: 63.89 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1619, allocations: 66 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01321/0.1751, allocations: 9.5 MB / 0.5647 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008347/0.1835, allocations: 3.831 MB / 0.5684 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.1852, allocations: 63.69 kB / 0.5685 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005228/0.1904, allocations: 2.313 MB / 0.5707 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.1952, allocations: 1.646 MB / 0.5723 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.197, allocations: 0.6862 MB / 0.573 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.203, allocations: 3.809 MB / 0.5767 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.2066, allocations: 2.45 MB / 0.5791 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.209, allocations: 1.304 MB / 0.5804 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003062/0.212, allocations: 1.861 MB / 0.5822 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006774/0.2127, allocations: 280 kB / 0.5825 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.2149, allocations: 1.194 MB / 0.5836 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.2167, allocations: 1.628 MB / 0.5852 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.2191, allocations: 1.891 MB / 0.5871 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2945/0.5137, allocations: 6.297 MB / 0.5932 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5137, allocations: 0 / 0.5932 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5137, allocations: 0 / 0.5932 GB, free: 14.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002176/0.5139, allocations: 0 / 0.5932 GB, free: 14.5 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.01046/0.5243, allocations: 4.346 MB / 0.5975 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.5244, allocations: 10.33 kB / 0.5975 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001225/0.5256, allocations: 0.6112 MB / 0.5981 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02313/0.5488, allocations: 3.768 MB / 0.6018 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006717/0.5555, allocations: 2.53 MB / 0.6042 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.5557, allocations: 194.7 kB / 0.6044 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.5571, allocations: 262.6 kB / 0.6047 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.5746, allocations: 8.52 MB / 0.613 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.5747, allocations: 42.61 kB / 0.613 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/0.5752, allocations: 123.2 kB / 0.6131 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/0.5783, allocations: 1.74 MB / 0.6148 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.5914, allocations: 7.441 MB / 0.6221 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/0.6348, allocations: 33.9 MB / 0.6552 GB, free: 7.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/0.6423, allocations: 2.914 MB / 0.6581 GB, free: 4.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.6449, allocations: 1.688 MB / 0.6597 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.6454, allocations: 332.8 kB / 0.66 GB, free: 2.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.6455, allocations: 46.31 kB / 0.6601 GB, free: 2.715 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 3.727e-06/0.6455, allocations: 4 kB / 0.6601 GB, free: 2.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.04025/0.6857, allocations: 14.54 MB / 0.6743 GB, free: 4.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6858, allocations: 172 kB / 0.6744 GB, free: 3.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005568/0.6914, allocations: 3.532 MB / 0.6779 GB, free: 372 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.6918, allocations: 45.7 kB / 0.6779 GB, free: 320 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/0.6944, allocations: 2.776 MB / 0.6806 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/0.6954, allocations: 0.6288 MB / 0.6813 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.697, allocations: 1.07 MB / 0.6823 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6972, allocations: 309.1 kB / 0.6826 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.7005, allocations: 2.013 MB / 0.6846 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006429/0.707, allocations: 5.217 MB / 0.6897 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.7182, allocations: 7.858 MB / 0.6973 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.7183, allocations: 32 kB / 0.6974 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01626/0.7345, allocations: 7.792 MB / 0.705 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.7347, allocations: 59.94 kB / 0.705 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.7349, allocations: 112 kB / 0.7051 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.7376, allocations: 0.9651 MB / 0.7061 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/0.7418, allocations: 1.181 MB / 0.7072 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.7519, allocations: 6.92 MB / 0.714 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/0.7563, allocations: 299.7 kB / 0.7143 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.7574, allocations: 325.2 kB / 0.7146 GB, free: 8.184 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.004013/0.7614, allocations: 1.846 MB / 0.7164 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009018/0.7623, allocations: 321.8 kB / 0.7167 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00679/0.7691, allocations: 3.186 MB / 0.7198 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/0.7691, allocations: 20 kB / 0.7198 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.7691, allocations: 4 kB / 0.7198 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/0.7691, allocations: 9.5 kB / 0.7198 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.7854, allocations: 7.816 MB / 0.7275 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.7854, allocations: 4 kB / 0.7275 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7867, allocations: 227.6 kB / 0.7277 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.789, allocations: 0.8085 MB / 0.7285 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.7891, allocations: 27.98 kB / 0.7285 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009696/0.7988, allocations: 6.494 MB / 0.7349 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7988, allocations: 0 / 0.7349 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00988/0.8087, allocations: 5.825 MB / 0.7405 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.81, allocations: 374.8 kB / 0.7409 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/0.8104, allocations: 24 kB / 0.7409 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.8117, allocations: 91.86 kB / 0.741 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/0.812, allocations: 96.77 kB / 0.7411 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.8122, allocations: 42.17 kB / 0.7411 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003824/0.816, allocations: 2.205 MB / 0.7433 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.816, allocations: 0 / 0.7433 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005152/0.8211, allocations: 0.8593 MB / 0.7441 GB, free: 9.707 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.01071/0.8318, allocations: 6.474 MB / 0.7505 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008496/0.8403, allocations: 4.692 MB / 0.755 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8403, allocations: 3.844 kB / 0.755 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.8434, allocations: 1.657 MB / 0.7567 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.8459, allocations: 391.5 kB / 0.757 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0685/0.9144, allocations: 40.79 MB / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003486/0.9178, allocations: 2.884 MB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004039/0.9219, allocations: 1.707 MB / 0.8014 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/0.9244, allocations: 1.555 MB / 0.8029 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of SimCode: time 1.393e-06/0.9244, allocations: 4 kB / 0.8029 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4377/1.362, allocations: 63.01 MB / 0.8644 GB, free: 230.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/22.94, allocations: 3.75 kB / 0.8644 GB, free: 230.8 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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.359113662998425]