Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009153/0.0009153, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008862/0.0008862, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8686/0.8686, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1358/0.1358, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.122e-05, allocations: 5.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007105/0.007126, allocations: 9.012 MB / 415.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005727/0.01285, allocations: 3.723 MB / 419.6 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.01374, allocations: 63.75 kB / 419.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.01604, allocations: 2.386 MB / 422 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.01876, allocations: 1.843 MB / 423.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.01984, allocations: 0.7483 MB / 424.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003907/0.02375, allocations: 4.187 MB / 428.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.02626, allocations: 2.69 MB / 431.5 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.02808, allocations: 2.113 MB / 433.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.02968, allocations: 1.995 MB / 435.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.02997, allocations: 316 kB / 435.9 MB, free: 296 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1589/0.1889, allocations: 1.132 MB / 437.1 MB, free: 21.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.1909, allocations: 1.846 MB / 438.9 MB, free: 21.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.1928, allocations: 1.181 MB / 440.1 MB, free: 21.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008808/0.2016, allocations: 6.925 MB / 447 MB, free: 21.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2016, allocations: 0 / 447 MB, free: 21.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2016, allocations: 0 / 447 MB, free: 21.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002746/0.2018, allocations: 3.062 kB / 447 MB, free: 21.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01068/0.2125, allocations: 4.583 MB / 451.6 MB, free: 19.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2126, allocations: 10.75 kB / 451.6 MB, free: 19.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.2137, allocations: 0.6643 MB / 452.3 MB, free: 18.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.2259, allocations: 4.048 MB / 456.3 MB, free: 17.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005438/0.2313, allocations: 2.561 MB / 458.9 MB, free: 16.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2314, allocations: 206.9 kB / 459.1 MB, free: 16.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.2325, allocations: 280.5 kB / 459.4 MB, free: 16.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.2438, allocations: 9.246 MB / 468.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.853e-05/0.2439, allocations: 41.92 kB / 468.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.2442, allocations: 133.5 kB / 468.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001745/0.2459, allocations: 1.913 MB / 470.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009092/0.255, allocations: 8.009 MB / 478.7 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03788/0.2929, allocations: 34.64 MB / 0.5013 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004912/0.2978, allocations: 3.101 MB / 0.5043 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.2996, allocations: 1.853 MB / 0.5061 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.2998, allocations: 92.94 kB / 0.5062 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2998, allocations: 55.34 kB / 0.5063 GB, free: 9.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=156): time 3.927e-06/0.2998, allocations: 0 / 0.5063 GB, free: 9.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=177): time 0.02663/0.3265, allocations: 15.72 MB / 0.5216 GB, free: 9.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.158e-05/0.3265, allocations: 181.1 kB / 0.5218 GB, free: 9.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005027/0.3316, allocations: 4.077 MB / 0.5258 GB, free: 5.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004405/0.332, allocations: 49.7 kB / 0.5258 GB, free: 5.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.3334, allocations: 2.907 MB / 0.5287 GB, free: 2.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/0.3342, allocations: 0.704 MB / 0.5294 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.3356, allocations: 1.115 MB / 0.5305 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.3357, allocations: 301.1 kB / 0.5307 GB, free: 220 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.3381, allocations: 2.181 MB / 0.5329 GB, free: 14.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/0.3421, allocations: 5.546 MB / 0.5383 GB, free: 6.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/0.3496, allocations: 8.355 MB / 0.5464 GB, free: 13.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.3497, allocations: 32 kB / 0.5465 GB, free: 12.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01342/0.3631, allocations: 8.281 MB / 0.5546 GB, free: 4.691 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/0.3632, allocations: 56 kB / 0.5546 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.3633, allocations: 120 kB / 0.5547 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.3652, allocations: 0.9675 MB / 0.5557 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.3681, allocations: 1.271 MB / 0.5569 GB, free: 2.277 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.3744, allocations: 6.799 MB / 0.5636 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/0.3778, allocations: 358.2 kB / 0.5639 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007012/0.3785, allocations: 340 kB / 0.5642 GB, free: 10.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (671): * Single equations (assignments): 667 * 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.003286/0.3818, allocations: 1.977 MB / 0.5662 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.3824, allocations: 337.7 kB / 0.5665 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.3869, allocations: 3.555 MB / 0.5699 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.3869, allocations: 16 kB / 0.57 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.387, allocations: 11.98 kB / 0.57 GB, free: 4.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.387, allocations: 7.922 kB / 0.57 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.3999, allocations: 8.241 MB / 0.578 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.3999, allocations: 0 / 0.578 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.4007, allocations: 275.6 kB / 0.5783 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.4019, allocations: 0.8045 MB / 0.5791 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.4021, allocations: 36 kB / 0.5791 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.4079, allocations: 6.38 MB / 0.5853 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4079, allocations: 7.938 kB / 0.5854 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006926/0.4149, allocations: 6.406 MB / 0.5916 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.4163, allocations: 0.6381 MB / 0.5922 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.4166, allocations: 24 kB / 0.5923 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.4175, allocations: 147.7 kB / 0.5924 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.4177, allocations: 100.8 kB / 0.5925 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/0.4178, allocations: 51.03 kB / 0.5925 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002993/0.4208, allocations: 2.458 MB / 0.5949 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.4208, allocations: 288 / 0.5949 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00348/0.4243, allocations: 1.047 MB / 0.596 GB, free: 10.01 MB / 0.4948 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 (137): * Single equations (assignments): 133 * 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.007105/0.4314, allocations: 7.06 MB / 0.6029 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006256/0.4376, allocations: 5.069 MB / 0.6078 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4376, allocations: 0 / 0.6078 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.4397, allocations: 1.81 MB / 0.6096 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.4419, allocations: 414.8 kB / 0.61 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2461/0.688, allocations: 44.14 MB / 0.6531 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.6899, allocations: 2.524 MB / 0.6555 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002173/0.6921, allocations: 1.806 MB / 0.6573 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/0.6933, allocations: 1.744 MB / 0.659 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.6933, allocations: 0 / 0.659 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/0.7595, allocations: 69.13 MB / 0.7265 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.33, allocations: 7.859 kB / 0.7265 GB, free: 76.52 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.468660059385002]