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.001991/0.001991, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001686/0.001686, allocations: 211 kB / 23.73 MB, free: 4.387 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2255/0.2255, allocations: 46.97 MB / 360.9 MB, free: 4.113 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.00222/0.00222, allocations: 67.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3516, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01218/0.3638, allocations: 8.378 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008182/0.372, allocations: 3.606 MB / 0.5723 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3735, allocations: 63.69 kB / 0.5724 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.3781, allocations: 2.231 MB / 0.5745 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.3829, allocations: 1.654 MB / 0.5762 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.385, allocations: 0.6978 MB / 0.5768 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.3914, allocations: 3.81 MB / 0.5806 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003311/0.3947, allocations: 2.304 MB / 0.5828 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.3982, allocations: 1.308 MB / 0.5841 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.4019, allocations: 1.767 MB / 0.5858 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006464/0.4025, allocations: 280 kB / 0.5861 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.4048, allocations: 1.053 MB / 0.5871 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001951/0.4067, allocations: 1.632 MB / 0.5887 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4085, allocations: 1.382 MB / 0.5901 GB, free: 5.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00948/0.418, allocations: 6.324 MB / 0.5962 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.418, allocations: 0 / 0.5962 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.418, allocations: 4 kB / 0.5962 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002054/0.4182, allocations: 0 / 0.5962 GB, free: 15.54 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.01135/0.4295, allocations: 4.276 MB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4296, allocations: 8.031 kB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000946/0.4305, allocations: 0.6121 MB / 0.601 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02136/0.4519, allocations: 3.766 MB / 0.6047 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0065/0.4584, allocations: 2.478 MB / 0.6071 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.4586, allocations: 193.3 kB / 0.6073 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009559/0.4595, allocations: 259.8 kB / 0.6075 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.4752, allocations: 8.555 MB / 0.6159 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4753, allocations: 35.7 kB / 0.6159 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.4756, allocations: 123.9 kB / 0.616 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003141/0.4788, allocations: 1.743 MB / 0.6177 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.4932, allocations: 7.408 MB / 0.625 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.5381, allocations: 32.46 MB / 0.6567 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/0.5446, allocations: 2.462 MB / 0.6591 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/0.5469, allocations: 1.704 MB / 0.6608 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.5472, allocations: 88.59 kB / 0.6608 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.5472, allocations: 47.16 kB / 0.6609 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 8.186e-06/0.5472, allocations: 11.98 kB / 0.6609 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03641/0.5836, allocations: 14.31 MB / 0.6749 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.5838, allocations: 167.2 kB / 0.675 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/0.5897, allocations: 3.715 MB / 0.6787 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.59, allocations: 57.69 kB / 0.6787 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.5923, allocations: 2.773 MB / 0.6814 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.5931, allocations: 0.6241 MB / 0.682 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.5945, allocations: 1.068 MB / 0.6831 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5946, allocations: 301.1 kB / 0.6834 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.5976, allocations: 2.013 MB / 0.6853 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005677/0.6033, allocations: 5.251 MB / 0.6905 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009724/0.613, allocations: 7.843 MB / 0.6981 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-05/0.6131, allocations: 32 kB / 0.6981 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01398/0.6271, allocations: 7.807 MB / 0.7058 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.6272, allocations: 56 kB / 0.7058 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/0.6274, allocations: 112 kB / 0.7059 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.6299, allocations: 0.9654 MB / 0.7069 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/0.6337, allocations: 1.181 MB / 0.708 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/0.6437, allocations: 6.748 MB / 0.7146 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/0.6481, allocations: 295.6 kB / 0.7149 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.6492, allocations: 324 kB / 0.7152 GB, free: 440 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.004439/0.6536, allocations: 1.856 MB / 0.717 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009651/0.6546, allocations: 317.8 kB / 0.7173 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00669/0.6613, allocations: 3.183 MB / 0.7204 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/0.6613, allocations: 20 kB / 0.7204 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.6614, allocations: 4.281 kB / 0.7204 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.6614, allocations: 19.84 kB / 0.7205 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.6773, allocations: 7.427 MB / 0.7277 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.6773, allocations: 3.938 kB / 0.7277 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.6785, allocations: 231.6 kB / 0.7279 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/0.6807, allocations: 0.8064 MB / 0.7287 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.6809, allocations: 24 kB / 0.7288 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3108/0.9917, allocations: 6.325 MB / 0.7349 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9917, allocations: 0.75 kB / 0.7349 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006978/0.9986, allocations: 5.821 MB / 0.7406 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.9994, allocations: 301.6 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.9998, allocations: 21.5 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.001, allocations: 97.94 kB / 0.741 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.001, allocations: 90.78 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.001, allocations: 43.09 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002701/1.004, allocations: 2.208 MB / 0.7433 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 0 / 0.7433 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003474/1.008, allocations: 0.8553 MB / 0.7441 GB, free: 149 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.006727/1.014, allocations: 6.46 MB / 0.7504 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005532/1.02, allocations: 4.7 MB / 0.755 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.02, allocations: 4 kB / 0.755 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.022, allocations: 1.655 MB / 0.7567 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.024, allocations: 388.2 kB / 0.757 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04208/1.066, allocations: 40.9 MB / 0.797 GB, free: 94.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.068, allocations: 2.326 MB / 0.7992 GB, free: 92.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002963/1.071, allocations: 1.711 MB / 0.8009 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.073, allocations: 1.558 MB / 0.8024 GB, free: 88.91 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.073, allocations: 0 / 0.8024 GB, free: 88.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/1.174, allocations: 63.26 MB / 0.8642 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.98, allocations: 15.31 kB / 0.8642 GB, free: 26.37 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.278545370791107]