Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.001929/0.001929, allocations: 110 kB / 19.69 MB, free: 2.203 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.002326/0.002326, allocations: 219.3 kB / 23 MB, free: 5.043 MB / 14.72 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 1.522/1.522, allocations: 207.6 MB / 233.8 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.2633/0.2633, allocations: 44.24 MB / 330.3 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] 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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 74.56 kB / 467.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1345, allocations: 61.03 MB / 0.5162 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01633/0.1508, allocations: 14.02 MB / 0.5298 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.1613, allocations: 4.245 MB / 0.534 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.1637, allocations: 83.75 kB / 0.5341 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.1681, allocations: 1.872 MB / 0.5359 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.1737, allocations: 1.922 MB / 0.5378 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.1758, allocations: 0.5614 MB / 0.5383 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2675/0.4433, allocations: 3.946 MB / 0.5422 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004959/0.4482, allocations: 2.336 MB / 0.5445 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.4522, allocations: 1.439 MB / 0.5459 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005462/0.4576, allocations: 2.177 MB / 0.548 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.4595, allocations: 295.8 kB / 0.5483 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.4637, allocations: 1.027 MB / 0.5493 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004246/0.468, allocations: 1.847 MB / 0.5511 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005404/0.4734, allocations: 2.176 MB / 0.5532 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.4858, allocations: 7.115 MB / 0.5602 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.4858, allocations: 1 kB / 0.5602 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4858, allocations: 0 / 0.5602 GB, free: 5.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003142/0.4861, allocations: 0 / 0.5602 GB, free: 5.699 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01524/0.5013, allocations: 4.71 MB / 0.5648 GB, free: 3.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5014, allocations: 8.781 kB / 0.5648 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002697/0.5041, allocations: 0.7887 MB / 0.5655 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.5158, allocations: 3.161 MB / 0.5686 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007983/0.5238, allocations: 2.554 MB / 0.5711 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.5241, allocations: 223.3 kB / 0.5713 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.5261, allocations: 300.9 kB / 0.5716 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.5535, allocations: 11.32 MB / 0.5827 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.5537, allocations: 39.05 kB / 0.5827 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001512/0.5552, allocations: 131.3 kB / 0.5828 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005125/0.5603, allocations: 2.709 MB / 0.5855 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02427/0.5846, allocations: 10.48 MB / 0.5957 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06728/0.6518, allocations: 37.2 MB / 0.632 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009669/0.6615, allocations: 3.493 MB / 0.6354 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004667/0.6662, allocations: 2.22 MB / 0.6376 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.6672, allocations: 452.8 kB / 0.638 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.6673, allocations: 60.5 kB / 0.6381 GB, free: 2.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.861e-06/0.6673, allocations: 0 / 0.6381 GB, free: 2.066 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04848/0.7158, allocations: 17.51 MB / 0.6552 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.7159, allocations: 69.41 kB / 0.6553 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/0.7222, allocations: 2.814 MB / 0.658 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006749/0.7229, allocations: 59.48 kB / 0.6581 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003004/0.7259, allocations: 2.976 MB / 0.661 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/0.7276, allocations: 0.9608 MB / 0.6619 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003041/0.7307, allocations: 1.091 MB / 0.663 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7308, allocations: 301.1 kB / 0.6633 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/0.7353, allocations: 2.326 MB / 0.6655 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008416/0.7438, allocations: 5.302 MB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/0.7566, allocations: 8.371 MB / 0.6789 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/0.7567, allocations: 32 kB / 0.6789 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01848/0.7752, allocations: 8.374 MB / 0.6871 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.7753, allocations: 55.98 kB / 0.6871 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.7755, allocations: 104 kB / 0.6872 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.7785, allocations: 0.939 MB / 0.6882 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/0.7834, allocations: 1.244 MB / 0.6894 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.7914, allocations: 5.033 MB / 0.6943 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/0.7957, allocations: 299.8 kB / 0.6946 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/0.7968, allocations: 320 kB / 0.6949 GB, free: 4.914 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (665): * Single equations (assignments): 658 * Array equations: 6 * 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,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005533/0.8023, allocations: 2.185 MB / 0.697 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007155/0.8031, allocations: 301.9 kB / 0.6973 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.814, allocations: 5.127 MB / 0.7023 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.808e-05/0.814, allocations: 50.64 kB / 0.7024 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8141, allocations: 4 kB / 0.7024 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/0.8141, allocations: 11.95 kB / 0.7024 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02761/0.8417, allocations: 11.92 MB / 0.714 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.8417, allocations: 11.94 kB / 0.714 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.8437, allocations: 395.4 kB / 0.7144 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/0.8463, allocations: 0.7745 MB / 0.7152 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004813/0.8468, allocations: 53.2 kB / 0.7152 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/0.8531, allocations: 4.29 MB / 0.7194 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.8532, allocations: 20.88 kB / 0.7194 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.867, allocations: 7.641 MB / 0.7269 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/0.8698, allocations: 0.6229 MB / 0.7275 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007513/0.8705, allocations: 44 kB / 0.7275 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.8721, allocations: 151.8 kB / 0.7277 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/0.8725, allocations: 163.1 kB / 0.7278 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.8727, allocations: 75.98 kB / 0.7279 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003565/0.8763, allocations: 1.73 MB / 0.7296 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8763, allocations: 0 / 0.7296 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006161/0.8825, allocations: 0.999 MB / 0.7306 GB, free: 15.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01422/0.8967, allocations: 8.295 MB / 0.7387 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.9068, allocations: 5.459 MB / 0.744 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.9068, allocations: 4 kB / 0.744 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/0.9105, allocations: 1.996 MB / 0.746 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.9134, allocations: 389.7 kB / 0.7463 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3107/1.224, allocations: 43.11 MB / 0.7884 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005563/1.23, allocations: 3.43 MB / 0.7918 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004213/1.234, allocations: 2 MB / 0.7937 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/1.237, allocations: 1.88 MB / 0.7956 GB, free: 181 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/1.237, allocations: 0 / 0.7956 GB, free: 181 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.347, allocations: 65.27 MB / 0.8593 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.18/27.53, allocations: 3.984 kB / 0.8593 GB, free: 122.3 MB / 0.5919 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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: 30.7708217410036]