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.001824/0.001824, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002354/0.002354, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2399/0.2399, allocations: 46.93 MB / 360.9 MB, free: 4.379 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.002053/0.002053, allocations: 71.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01193/0.36, allocations: 9.53 MB / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.3681, allocations: 3.855 MB / 0.5737 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.3695, allocations: 63.69 kB / 0.5738 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.3744, allocations: 2.321 MB / 0.5761 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.3789, allocations: 1.654 MB / 0.5777 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3806, allocations: 0.6901 MB / 0.5783 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006243/0.3868, allocations: 3.817 MB / 0.5821 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.3902, allocations: 2.316 MB / 0.5843 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.3925, allocations: 1.308 MB / 0.5856 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.3957, allocations: 1.865 MB / 0.5874 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007756/0.3965, allocations: 280 kB / 0.5877 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.399, allocations: 1.198 MB / 0.5889 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.401, allocations: 1.632 MB / 0.5905 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.4034, allocations: 1.88 MB / 0.5923 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007939/0.4114, allocations: 6.304 MB / 0.5985 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4114, allocations: 3.984 kB / 0.5985 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4114, allocations: 4 kB / 0.5985 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.4115, allocations: 0 / 0.5985 GB, free: 13.58 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.01048/0.422, allocations: 4.272 MB / 0.6026 GB, free: 9.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.422, allocations: 12.03 kB / 0.6027 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/0.4232, allocations: 0.6082 MB / 0.6032 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/0.4449, allocations: 3.766 MB / 0.6069 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.4517, allocations: 2.459 MB / 0.6093 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.4519, allocations: 193.3 kB / 0.6095 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008453/0.4528, allocations: 259.8 kB / 0.6098 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.4688, allocations: 8.526 MB / 0.6181 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.4689, allocations: 35.7 kB / 0.6181 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004892/0.4694, allocations: 127.8 kB / 0.6182 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.4727, allocations: 1.75 MB / 0.6199 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.488, allocations: 7.443 MB / 0.6272 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.537, allocations: 33.81 MB / 0.6602 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/0.5441, allocations: 2.453 MB / 0.6626 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.5467, allocations: 1.704 MB / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.547, allocations: 92.56 kB / 0.6644 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.5471, allocations: 59.16 kB / 0.6644 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.873e-06/0.5471, allocations: 4.094 kB / 0.6644 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03791/0.585, allocations: 14.26 MB / 0.6784 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5852, allocations: 171.2 kB / 0.6785 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/0.5915, allocations: 3.526 MB / 0.682 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000525/0.592, allocations: 49.7 kB / 0.682 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003003/0.595, allocations: 2.761 MB / 0.6847 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.5962, allocations: 0.6319 MB / 0.6853 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002137/0.5984, allocations: 1.072 MB / 0.6864 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5985, allocations: 305.1 kB / 0.6867 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/0.6019, allocations: 2.013 MB / 0.6886 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006868/0.6088, allocations: 5.222 MB / 0.6937 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/0.6209, allocations: 7.849 MB / 0.7014 GB, free: 14.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.621, allocations: 35.94 kB / 0.7014 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01815/0.6392, allocations: 7.802 MB / 0.7091 GB, free: 7.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.6393, allocations: 56.95 kB / 0.7091 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001965/0.6395, allocations: 116.1 kB / 0.7092 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.6423, allocations: 0.9724 MB / 0.7102 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004363/0.6467, allocations: 1.181 MB / 0.7113 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.657, allocations: 6.796 MB / 0.718 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/0.6613, allocations: 307.5 kB / 0.7183 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009465/0.6623, allocations: 327.9 kB / 0.7186 GB, free: 13.29 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.003339/0.6656, allocations: 1.852 MB / 0.7204 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000721/0.6663, allocations: 317.9 kB / 0.7207 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006157/0.6725, allocations: 3.186 MB / 0.7238 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.6725, allocations: 16 kB / 0.7238 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.6725, allocations: 7.984 kB / 0.7238 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6726, allocations: 7.984 kB / 0.7238 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.6873, allocations: 7.777 MB / 0.7314 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.6873, allocations: 7.938 kB / 0.7314 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.294/0.9813, allocations: 221.9 kB / 0.7316 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/0.9841, allocations: 0.8112 MB / 0.7324 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/0.9844, allocations: 26.62 kB / 0.7325 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007864/0.9923, allocations: 6.388 MB / 0.7387 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9923, allocations: 0 / 0.7387 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007696/0.9999, allocations: 5.828 MB / 0.7444 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009479/1.001, allocations: 290.1 kB / 0.7447 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004947/1.001, allocations: 31.5 kB / 0.7447 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.003, allocations: 90.2 kB / 0.7448 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/1.003, allocations: 94.64 kB / 0.7449 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.003, allocations: 42.42 kB / 0.7449 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002936/1.006, allocations: 2.213 MB / 0.7471 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.006, allocations: 2.812 kB / 0.7471 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00448/1.01, allocations: 0.8544 MB / 0.7479 GB, free: 147.6 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.007476/1.018, allocations: 6.448 MB / 0.7542 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.024, allocations: 4.696 MB / 0.7588 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.024, allocations: 3 kB / 0.7588 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.027, allocations: 1.664 MB / 0.7604 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.029, allocations: 392.1 kB / 0.7608 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/1.089, allocations: 40.9 MB / 0.8007 GB, free: 91.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/1.093, allocations: 2.877 MB / 0.8035 GB, free: 88.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003893/1.097, allocations: 1.711 MB / 0.8052 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0028/1.1, allocations: 1.558 MB / 0.8067 GB, free: 85.65 MB / 0.5606 GB Notification: Performance of SimCode: time 1.954e-06/1.1, allocations: 0 / 0.8067 GB, free: 85.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.217, allocations: 67.36 MB / 0.8725 GB, free: 18.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.83/24.04, allocations: 14.8 kB / 0.8725 GB, free: 18.7 MB / 0.5606 GB " [Timeout remaining time 636] (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: 27.336651371995686]