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.00109/0.00109, allocations: 103 kB / 16.27 MB, free: 6.41 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.001195/0.001195, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2047/0.2047, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001543/0.001543, allocations: 64.97 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09764, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01342/0.1111, allocations: 13.92 MB / 454.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009874/0.121, allocations: 4.209 MB / 458.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.1234, allocations: 75.81 kB / 458.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.1272, allocations: 1.826 MB / 460.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.1327, allocations: 1.864 MB / 462.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1341, allocations: 0.5614 MB / 463.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005974/0.1401, allocations: 3.957 MB / 467 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.1437, allocations: 2.728 MB / 469.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.1458, allocations: 1.405 MB / 471.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.1482, allocations: 1.974 MB / 473.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005886/0.1488, allocations: 296 kB / 473.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.1507, allocations: 0.9986 MB / 474.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.1523, allocations: 1.812 MB / 476.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.1545, allocations: 2.178 MB / 478.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.1615, allocations: 6.771 MB / 485.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.1616, allocations: 4 kB / 485.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1616, allocations: 0 / 485.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000226/0.1618, allocations: 0 / 485.2 MB, free: 10.02 MB / 366.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.009525/0.1713, allocations: 4.657 MB / 489.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1714, allocations: 15.89 kB / 489.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.1725, allocations: 0.7786 MB / 490.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.1833, allocations: 3.13 MB / 493.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005487/0.1889, allocations: 2.6 MB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.1891, allocations: 229.7 kB / 496.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009282/0.19, allocations: 291.6 kB / 496.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.2085, allocations: 11.32 MB / 0.4963 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.824e-05/0.2086, allocations: 27.72 kB / 0.4963 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.2091, allocations: 135.8 kB / 0.4964 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004725/0.2138, allocations: 2.71 MB / 0.4991 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.2335, allocations: 10.48 MB / 0.5093 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2287/0.4623, allocations: 37.5 MB / 0.5459 GB, free: 64.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009695/0.472, allocations: 4.574 MB / 0.5504 GB, free: 62.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/0.475, allocations: 2.405 MB / 0.5528 GB, free: 62.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.4761, allocations: 1.315 MB / 0.554 GB, free: 61.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.4761, allocations: 53.81 kB / 0.5541 GB, free: 61.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.941e-06/0.4762, allocations: 0 / 0.5541 GB, free: 61.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03355/0.5097, allocations: 17.67 MB / 0.5714 GB, free: 56.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.5098, allocations: 82.42 kB / 0.5714 GB, free: 55.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.5125, allocations: 2.803 MB / 0.5742 GB, free: 53.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5126, allocations: 61.7 kB / 0.5742 GB, free: 53.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.5135, allocations: 2.853 MB / 0.577 GB, free: 50.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.514, allocations: 0.9112 MB / 0.5779 GB, free: 50.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.515, allocations: 1.091 MB / 0.579 GB, free: 48.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.5151, allocations: 311.9 kB / 0.5793 GB, free: 48.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.5174, allocations: 2.326 MB / 0.5815 GB, free: 46.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/0.5205, allocations: 5.293 MB / 0.5867 GB, free: 39.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006151/0.5267, allocations: 8.373 MB / 0.5949 GB, free: 29.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.162e-05/0.5267, allocations: 28 kB / 0.5949 GB, free: 29.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.0107/0.5374, allocations: 8.367 MB / 0.6031 GB, free: 21.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.5375, allocations: 52 kB / 0.6031 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-05/0.5376, allocations: 107.9 kB / 0.6032 GB, free: 21.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/0.54, allocations: 0.952 MB / 0.6042 GB, free: 20.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.5433, allocations: 1.24 MB / 0.6054 GB, free: 19.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/0.5483, allocations: 5.136 MB / 0.6104 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.5514, allocations: 303.8 kB / 0.6107 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/0.5519, allocations: 315.9 kB / 0.611 GB, free: 13.21 MB / 414.1 MB 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.002943/0.5548, allocations: 2.185 MB / 0.6131 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/0.5553, allocations: 284.2 kB / 0.6134 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006938/0.5622, allocations: 5.14 MB / 0.6184 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/0.5623, allocations: 46 kB / 0.6184 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5623, allocations: 0 / 0.6184 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.5624, allocations: 11.95 kB / 0.6185 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.5801, allocations: 11.98 MB / 0.6302 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.5801, allocations: 8.188 kB / 0.6302 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.5818, allocations: 403.3 kB / 0.6306 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/0.5841, allocations: 0.7803 MB / 0.6313 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.5843, allocations: 59.8 kB / 0.6314 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005393/0.5897, allocations: 4.389 MB / 0.6357 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.5897, allocations: 15.94 kB / 0.6357 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.6001, allocations: 7.621 MB / 0.6431 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/0.6017, allocations: 0.6731 MB / 0.6438 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000441/0.6021, allocations: 58.89 kB / 0.6438 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.6035, allocations: 143.8 kB / 0.644 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.6038, allocations: 159.3 kB / 0.6441 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.604, allocations: 71.44 kB / 0.6442 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.6064, allocations: 1.738 MB / 0.6459 GB, free: 8.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6064, allocations: 0 / 0.6459 GB, free: 8.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00385/0.6103, allocations: 0.9986 MB / 0.6469 GB, free: 7.973 MB / 446.1 MB 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.01111/0.6214, allocations: 8.297 MB / 0.655 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01335/0.6348, allocations: 9.129 MB / 0.6639 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6348, allocations: 4 kB / 0.6639 GB, free: 6.422 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002992/0.6378, allocations: 2.15 MB / 0.666 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6404, allocations: 402.1 kB / 0.6664 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07353/0.7139, allocations: 46.26 MB / 0.7115 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005652/0.7196, allocations: 3.432 MB / 0.7149 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00496/0.7246, allocations: 2.006 MB / 0.7168 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/0.7279, allocations: 1.882 MB / 0.7187 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.7279, allocations: 0 / 0.7187 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/1.006, allocations: 63.14 MB / 0.7803 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.16, allocations: 7.797 kB / 0.7804 GB, free: 150.8 MB / 0.5137 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