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.001816/0.001816, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00225/0.00225, allocations: 203.8 kB / 23.72 MB, free: 4.391 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2206/0.2206, allocations: 46.94 MB / 360.8 MB, free: 3.906 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.002606/0.002606, allocations: 75.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3577, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01229/0.3699, allocations: 8.367 MB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008429/0.3784, allocations: 3.606 MB / 0.5724 GB, free: 7.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.38, allocations: 63.69 kB / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.385, allocations: 2.235 MB / 0.5746 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.3901, allocations: 1.654 MB / 0.5763 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.3921, allocations: 0.694 MB / 0.5769 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006446/0.3985, allocations: 3.809 MB / 0.5807 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.4024, allocations: 2.304 MB / 0.5829 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.405, allocations: 1.304 MB / 0.5842 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003325/0.4083, allocations: 1.767 MB / 0.5859 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.4094, allocations: 284 kB / 0.5862 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.4121, allocations: 1.053 MB / 0.5872 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00236/0.4144, allocations: 1.628 MB / 0.5888 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003591/0.418, allocations: 1.382 MB / 0.5901 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008084/0.4261, allocations: 6.327 MB / 0.5963 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4261, allocations: 0 / 0.5963 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4261, allocations: 4 kB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001557/0.4263, allocations: 0 / 0.5963 GB, free: 15.36 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.009229/0.4355, allocations: 4.28 MB / 0.6005 GB, free: 11.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.4355, allocations: 12.03 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001/0.4365, allocations: 0.6082 MB / 0.6011 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/0.4579, allocations: 3.762 MB / 0.6048 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007603/0.4655, allocations: 2.478 MB / 0.6072 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.4657, allocations: 193.3 kB / 0.6074 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008886/0.4666, allocations: 263.8 kB / 0.6076 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.4814, allocations: 8.551 MB / 0.616 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.4815, allocations: 39.64 kB / 0.616 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.4818, allocations: 123.9 kB / 0.6161 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003059/0.4849, allocations: 1.743 MB / 0.6178 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.4989, allocations: 7.408 MB / 0.6251 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04571/0.5446, allocations: 32.46 MB / 0.6568 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006524/0.5512, allocations: 2.454 MB / 0.6592 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002294/0.5535, allocations: 1.7 MB / 0.6608 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.5537, allocations: 88.59 kB / 0.6609 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.5538, allocations: 51.2 kB / 0.661 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.808e-06/0.5538, allocations: 7.938 kB / 0.661 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03547/0.5892, allocations: 14.3 MB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.5894, allocations: 175.2 kB / 0.6751 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/0.5947, allocations: 3.715 MB / 0.6787 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.595, allocations: 45.7 kB / 0.6788 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.5971, allocations: 2.773 MB / 0.6815 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.5979, allocations: 0.6319 MB / 0.6821 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.5993, allocations: 1.064 MB / 0.6832 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5994, allocations: 301.1 kB / 0.6834 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.6025, allocations: 2.017 MB / 0.6854 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.6086, allocations: 5.255 MB / 0.6905 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.619, allocations: 7.844 MB / 0.6982 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/0.6191, allocations: 32 kB / 0.6982 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01559/0.6347, allocations: 7.806 MB / 0.7059 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.959e-05/0.6348, allocations: 52 kB / 0.7059 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/0.6349, allocations: 116 kB / 0.706 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.6374, allocations: 0.9706 MB / 0.707 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/0.6412, allocations: 1.181 MB / 0.7081 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009993/0.6512, allocations: 6.742 MB / 0.7147 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/0.6552, allocations: 299.6 kB / 0.715 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/0.6559, allocations: 324 kB / 0.7153 GB, free: 248 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.003118/0.659, allocations: 1.848 MB / 0.7171 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/0.6597, allocations: 325.8 kB / 0.7174 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00617/0.6659, allocations: 3.179 MB / 0.7205 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/0.6659, allocations: 20 kB / 0.7205 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.666, allocations: 8 kB / 0.7205 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.666, allocations: 11.91 kB / 0.7206 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.6811, allocations: 7.431 MB / 0.7278 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.6811, allocations: 3.984 kB / 0.7278 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.6822, allocations: 227.7 kB / 0.728 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.6845, allocations: 0.8084 MB / 0.7288 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.6846, allocations: 28 kB / 0.7289 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2716/0.9563, allocations: 6.311 MB / 0.735 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9563, allocations: 4.969 kB / 0.735 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/0.9637, allocations: 5.827 MB / 0.7407 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/0.9646, allocations: 297.4 kB / 0.741 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.9651, allocations: 23.88 kB / 0.741 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.9663, allocations: 94.67 kB / 0.7411 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.9666, allocations: 94.44 kB / 0.7412 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.9667, allocations: 40.78 kB / 0.7412 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002925/0.9696, allocations: 2.207 MB / 0.7434 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9696, allocations: 0 / 0.7434 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004824/0.9744, allocations: 0.8596 MB / 0.7442 GB, free: 149.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.007568/0.982, allocations: 6.463 MB / 0.7505 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00638/0.9884, allocations: 4.696 MB / 0.7551 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9884, allocations: 0 / 0.7551 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.9908, allocations: 1.659 MB / 0.7567 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.9931, allocations: 403.8 kB / 0.7571 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04588/1.039, allocations: 40.87 MB / 0.797 GB, free: 95.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.041, allocations: 2.334 MB / 0.7993 GB, free: 92.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003155/1.044, allocations: 1.707 MB / 0.801 GB, free: 91.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.046, allocations: 1.554 MB / 0.8025 GB, free: 89.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/1.046, allocations: 4 kB / 0.8025 GB, free: 89.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09923/1.146, allocations: 63.26 MB / 0.8643 GB, free: 26.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.08, allocations: 0 / 0.8643 GB, free: 26.94 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.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_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: 20.344420299865305]