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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 107.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1088, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01414/0.123, allocations: 13.93 MB / 0.501 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008631/0.1316, allocations: 4.206 MB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.1338, allocations: 67.88 kB / 0.5052 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.1378, allocations: 1.837 MB / 0.507 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.1425, allocations: 1.864 MB / 0.5088 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1441, allocations: 0.5576 MB / 0.5093 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.1494, allocations: 3.961 MB / 0.5132 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004408/0.1539, allocations: 2.724 MB / 0.5159 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.1566, allocations: 1.421 MB / 0.5173 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.1599, allocations: 1.978 MB / 0.5192 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.161, allocations: 296 kB / 0.5195 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.164, allocations: 0.9947 MB / 0.5204 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.1666, allocations: 1.808 MB / 0.5222 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.1705, allocations: 2.17 MB / 0.5243 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2537/0.4242, allocations: 7.089 MB / 0.5312 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.4243, allocations: 0 / 0.5312 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4243, allocations: 0 / 0.5312 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003093/0.4247, allocations: 1.344 kB / 0.5313 GB, free: 12.97 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.01683/0.4415, allocations: 4.652 MB / 0.5358 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4416, allocations: 14.61 kB / 0.5358 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002997/0.4446, allocations: 0.7869 MB / 0.5366 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.457, allocations: 3.126 MB / 0.5396 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.4637, allocations: 2.613 MB / 0.5422 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.4641, allocations: 227.8 kB / 0.5424 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/0.4663, allocations: 297.6 kB / 0.5427 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.4915, allocations: 11.32 MB / 0.5537 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.4917, allocations: 27.97 kB / 0.5538 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.493, allocations: 137.2 kB / 0.5539 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.4979, allocations: 2.714 MB / 0.5565 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.518, allocations: 10.48 MB / 0.5668 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/0.5776, allocations: 37.29 MB / 0.6032 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009442/0.5871, allocations: 4.573 MB / 0.6077 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003555/0.5907, allocations: 2.396 MB / 0.61 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.592, allocations: 1.314 MB / 0.6113 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.5921, allocations: 52.5 kB / 0.6113 GB, free: 5.871 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 7.313e-06/0.5921, allocations: 4 kB / 0.6113 GB, free: 5.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04684/0.639, allocations: 17.66 MB / 0.6286 GB, free: 4.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.6391, allocations: 73.41 kB / 0.6287 GB, free: 4.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004415/0.6435, allocations: 2.804 MB / 0.6314 GB, free: 1.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000656/0.6442, allocations: 57.7 kB / 0.6314 GB, free: 1.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.6464, allocations: 2.859 MB / 0.6342 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.6477, allocations: 0.9197 MB / 0.6351 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.6496, allocations: 1.085 MB / 0.6362 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.6497, allocations: 305.1 kB / 0.6365 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/0.653, allocations: 2.322 MB / 0.6388 GB, free: 9.754 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005425/0.6584, allocations: 5.299 MB / 0.6439 GB, free: 3.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009622/0.6681, allocations: 8.37 MB / 0.6521 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.6683, allocations: 32 kB / 0.6521 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01656/0.6848, allocations: 8.367 MB / 0.6603 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.685, allocations: 56.06 kB / 0.6604 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/0.6852, allocations: 105.1 kB / 0.6605 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/0.6881, allocations: 0.9411 MB / 0.6614 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.6925, allocations: 1.244 MB / 0.6626 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.6994, allocations: 5.139 MB / 0.6676 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/0.7034, allocations: 299.8 kB / 0.6679 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009598/0.7044, allocations: 315.1 kB / 0.6682 GB, free: 9.578 MB / 0.5137 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.004067/0.7085, allocations: 2.186 MB / 0.6703 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/0.7091, allocations: 288.2 kB / 0.6706 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009431/0.7185, allocations: 5.132 MB / 0.6756 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-05/0.7186, allocations: 51.11 kB / 0.6757 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.7187, allocations: 4 kB / 0.6757 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/0.7187, allocations: 8.953 kB / 0.6757 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/0.742, allocations: 11.96 MB / 0.6874 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-05/0.7421, allocations: 16.05 kB / 0.6874 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.7441, allocations: 399.4 kB / 0.6877 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/0.7467, allocations: 0.7708 MB / 0.6885 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004777/0.7472, allocations: 48 kB / 0.6885 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.7529, allocations: 4.385 MB / 0.6928 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/0.753, allocations: 19.92 kB / 0.6928 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/0.7654, allocations: 7.624 MB / 0.7003 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/0.7673, allocations: 0.6809 MB / 0.701 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007565/0.768, allocations: 56.62 kB / 0.701 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.7698, allocations: 147.8 kB / 0.7012 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/0.7705, allocations: 152.9 kB / 0.7013 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/0.7708, allocations: 79.98 kB / 0.7014 GB, free: 7.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003222/0.774, allocations: 1.726 MB / 0.7031 GB, free: 5.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.774, allocations: 0 / 0.7031 GB, free: 5.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006211/0.7802, allocations: 0.9991 MB / 0.704 GB, free: 4.355 MB / 0.545 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.01416/0.7945, allocations: 8.302 MB / 0.7121 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009577/0.8041, allocations: 5.702 MB / 0.7177 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.8041, allocations: 0.875 kB / 0.7177 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/0.8076, allocations: 2.152 MB / 0.7198 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/0.8107, allocations: 392.8 kB / 0.7202 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3344/1.145, allocations: 42.82 MB / 0.762 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007321/1.153, allocations: 3.437 MB / 0.7654 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00651/1.159, allocations: 2.001 MB / 0.7673 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003517/1.163, allocations: 1.878 MB / 0.7691 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.764e-06/1.163, allocations: 0.5625 kB / 0.7691 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.266, allocations: 61.2 MB / 0.8289 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.22/24.48, allocations: 4 kB / 0.8289 GB, free: 155.7 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/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) Reference file matches