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.001205/0.001205, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001209/0.00121, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2165/0.2165, allocations: 43.52 MB / 314.1 MB, free: 456 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.00158/0.00158, allocations: 70.23 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.125, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01509/0.1401, allocations: 13.92 MB / 0.501 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009594/0.1498, allocations: 4.21 MB / 0.5051 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.1527, allocations: 67.88 kB / 0.5052 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.157, allocations: 1.841 MB / 0.507 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.1631, allocations: 1.864 MB / 0.5088 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.1655, allocations: 0.5497 MB / 0.5093 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006672/0.1722, allocations: 3.968 MB / 0.5132 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004576/0.1768, allocations: 2.72 MB / 0.5159 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.1796, allocations: 1.421 MB / 0.5172 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.183, allocations: 1.978 MB / 0.5192 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000982/0.184, allocations: 296 kB / 0.5195 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.1866, allocations: 0.9908 MB / 0.5204 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.1889, allocations: 1.811 MB / 0.5222 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.1922, allocations: 2.17 MB / 0.5243 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2922/0.4844, allocations: 7.088 MB / 0.5312 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.4845, allocations: 1.938 kB / 0.5312 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4845, allocations: 0.75 kB / 0.5312 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003051/0.4848, allocations: 0 / 0.5312 GB, free: 12.96 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.01354/0.4983, allocations: 4.656 MB / 0.5358 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4984, allocations: 13.2 kB / 0.5358 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002073/0.5005, allocations: 0.7806 MB / 0.5366 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.5132, allocations: 3.125 MB / 0.5396 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007815/0.5211, allocations: 2.617 MB / 0.5422 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.5213, allocations: 226.9 kB / 0.5424 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.5231, allocations: 298.1 kB / 0.5427 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5445, allocations: 11.32 MB / 0.5537 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.5447, allocations: 34.78 kB / 0.5538 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/0.5452, allocations: 135.3 kB / 0.5539 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.5493, allocations: 2.712 MB / 0.5565 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.5671, allocations: 10.48 MB / 0.5668 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0588/0.6259, allocations: 37.29 MB / 0.6032 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008892/0.6349, allocations: 4.576 MB / 0.6077 GB, free: 9.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/0.6382, allocations: 2.4 MB / 0.61 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.6394, allocations: 1.316 MB / 0.6113 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.6395, allocations: 56.5 kB / 0.6113 GB, free: 5.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 4.539e-06/0.6395, allocations: 0 / 0.6113 GB, free: 5.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04387/0.6834, allocations: 17.66 MB / 0.6286 GB, free: 4.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.6835, allocations: 73.41 kB / 0.6287 GB, free: 4.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.6877, allocations: 2.804 MB / 0.6314 GB, free: 1.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004754/0.6882, allocations: 57.7 kB / 0.6314 GB, free: 1.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.6901, allocations: 2.852 MB / 0.6342 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.6913, allocations: 0.9223 MB / 0.6351 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.6928, allocations: 1.084 MB / 0.6362 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.6929, allocations: 305.1 kB / 0.6365 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.696, allocations: 2.326 MB / 0.6388 GB, free: 9.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/0.7014, allocations: 5.294 MB / 0.6439 GB, free: 3.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009992/0.7114, allocations: 8.377 MB / 0.6521 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.927e-05/0.7115, allocations: 28 kB / 0.6521 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01559/0.7271, allocations: 8.371 MB / 0.6603 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.7272, allocations: 48.88 kB / 0.6604 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.7274, allocations: 108.2 kB / 0.6605 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.7303, allocations: 0.9419 MB / 0.6614 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/0.7348, allocations: 1.244 MB / 0.6626 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/0.7422, allocations: 5.142 MB / 0.6676 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/0.7465, allocations: 301.1 kB / 0.6679 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.7477, allocations: 308 kB / 0.6682 GB, free: 9.637 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.005164/0.7529, allocations: 2.193 MB / 0.6703 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008973/0.7538, allocations: 288.2 kB / 0.6706 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009269/0.763, allocations: 5.134 MB / 0.6756 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-05/0.7632, allocations: 40 kB / 0.6757 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.7632, allocations: 4 kB / 0.6757 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.7632, allocations: 11.95 kB / 0.6757 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/0.7853, allocations: 11.96 MB / 0.6874 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/0.7854, allocations: 8 kB / 0.6874 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.7871, allocations: 399.5 kB / 0.6877 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.7896, allocations: 0.7783 MB / 0.6885 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.7899, allocations: 47.98 kB / 0.6885 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005471/0.7954, allocations: 4.396 MB / 0.6928 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.7954, allocations: 11.94 kB / 0.6929 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.8063, allocations: 7.633 MB / 0.7003 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.8087, allocations: 0.6809 MB / 0.701 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.8093, allocations: 44 kB / 0.701 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.8106, allocations: 143.8 kB / 0.7012 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.8109, allocations: 156.9 kB / 0.7013 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.8111, allocations: 75.91 kB / 0.7014 GB, free: 7.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002603/0.8137, allocations: 1.739 MB / 0.7031 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8137, allocations: 3.938 kB / 0.7031 GB, free: 5.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004757/0.8185, allocations: 0.9961 MB / 0.704 GB, free: 4.402 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.0123/0.8308, allocations: 8.291 MB / 0.7121 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009282/0.8402, allocations: 5.703 MB / 0.7177 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/0.8402, allocations: 4 kB / 0.7177 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.8434, allocations: 2.145 MB / 0.7198 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.846, allocations: 391.7 kB / 0.7202 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3168/1.163, allocations: 42.82 MB / 0.762 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005776/1.169, allocations: 3.433 MB / 0.7654 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005415/1.174, allocations: 2.003 MB / 0.7673 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003325/1.177, allocations: 1.879 MB / 0.7691 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.177, allocations: 0 / 0.7691 GB, free: 203.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09116/1.269, allocations: 61.2 MB / 0.8289 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.56/25.82, allocations: 8.062 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