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.001684/0.001684, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001743/0.001744, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2215/0.2215, allocations: 43.53 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.002393/0.002393, allocations: 67.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1263, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01717/0.1435, allocations: 13.93 MB / 0.501 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009566/0.1531, allocations: 4.206 MB / 0.5051 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.1559, allocations: 67.88 kB / 0.5052 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004401/0.1603, allocations: 1.833 MB / 0.507 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.1655, allocations: 1.872 MB / 0.5088 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1673, allocations: 0.5537 MB / 0.5093 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00613/0.1734, allocations: 3.964 MB / 0.5132 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/0.1779, allocations: 2.732 MB / 0.5159 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.1807, allocations: 1.409 MB / 0.5173 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.1841, allocations: 1.978 MB / 0.5192 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1852, allocations: 296 kB / 0.5195 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.1878, allocations: 0.9947 MB / 0.5204 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002449/0.1903, allocations: 1.812 MB / 0.5222 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003661/0.194, allocations: 2.174 MB / 0.5243 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2849/0.4789, allocations: 7.105 MB / 0.5313 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4789, allocations: 0 / 0.5313 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4789, allocations: 0 / 0.5313 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000286/0.4792, allocations: 1.969 kB / 0.5313 GB, free: 12.94 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.01435/0.4936, allocations: 4.785 MB / 0.5359 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.4937, allocations: 16.8 kB / 0.536 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002854/0.4965, allocations: 0.7883 MB / 0.5367 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.5099, allocations: 3.147 MB / 0.5398 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.5175, allocations: 2.625 MB / 0.5424 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.5179, allocations: 225 kB / 0.5426 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002376/0.5203, allocations: 297.3 kB / 0.5429 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.5466, allocations: 11.32 MB / 0.5539 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.5469, allocations: 30.61 kB / 0.5539 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/0.5483, allocations: 134.9 kB / 0.5541 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004813/0.5531, allocations: 2.719 MB / 0.5567 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.5743, allocations: 10.47 MB / 0.567 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/0.6388, allocations: 37.35 MB / 0.6034 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.6491, allocations: 4.571 MB / 0.6079 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00404/0.6532, allocations: 2.402 MB / 0.6102 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.6547, allocations: 1.313 MB / 0.6115 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.6548, allocations: 56.5 kB / 0.6116 GB, free: 5.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.993e-06/0.6548, allocations: 4 kB / 0.6116 GB, free: 5.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04787/0.7027, allocations: 17.75 MB / 0.6289 GB, free: 3.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.7028, allocations: 77.41 kB / 0.629 GB, free: 3.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004432/0.7073, allocations: 2.805 MB / 0.6317 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005649/0.7079, allocations: 64.75 kB / 0.6318 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/0.7104, allocations: 2.972 MB / 0.6347 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.7119, allocations: 0.9634 MB / 0.6356 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/0.7137, allocations: 1.092 MB / 0.6367 GB, free: 11.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7139, allocations: 301.1 kB / 0.637 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/0.7178, allocations: 2.329 MB / 0.6393 GB, free: 9.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/0.7247, allocations: 5.299 MB / 0.6444 GB, free: 2.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/0.7371, allocations: 8.368 MB / 0.6526 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.7372, allocations: 28 kB / 0.6526 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01759/0.7548, allocations: 8.381 MB / 0.6608 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.755, allocations: 52 kB / 0.6609 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/0.7552, allocations: 105.2 kB / 0.661 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/0.7583, allocations: 0.9478 MB / 0.6619 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/0.7629, allocations: 1.244 MB / 0.6631 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.7711, allocations: 5.149 MB / 0.6681 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.7753, allocations: 303.8 kB / 0.6684 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/0.7765, allocations: 319.5 kB / 0.6687 GB, free: 9.066 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.005283/0.7818, allocations: 2.178 MB / 0.6709 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009044/0.7827, allocations: 301.9 kB / 0.6711 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.7936, allocations: 5.137 MB / 0.6762 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.114e-05/0.7938, allocations: 48.06 kB / 0.6762 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.7938, allocations: 0 / 0.6762 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.422e-05/0.7939, allocations: 11.95 kB / 0.6762 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/0.8186, allocations: 11.97 MB / 0.6879 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/0.8187, allocations: 12.06 kB / 0.6879 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.8206, allocations: 395.4 kB / 0.6883 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/0.8233, allocations: 0.777 MB / 0.6891 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/0.8237, allocations: 57.3 kB / 0.6891 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006396/0.8301, allocations: 4.382 MB / 0.6934 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.8301, allocations: 15.94 kB / 0.6934 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/0.8435, allocations: 7.645 MB / 0.7009 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/0.8456, allocations: 0.6904 MB / 0.7015 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007976/0.8464, allocations: 55.11 kB / 0.7016 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.8482, allocations: 143.8 kB / 0.7017 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/0.8487, allocations: 160.9 kB / 0.7019 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.8489, allocations: 68 kB / 0.702 GB, free: 6.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003231/0.8522, allocations: 1.738 MB / 0.7036 GB, free: 4.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8522, allocations: 5.641 kB / 0.7037 GB, free: 4.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005965/0.8582, allocations: 0.9991 MB / 0.7046 GB, free: 3.809 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.01529/0.8735, allocations: 8.311 MB / 0.7127 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01076/0.8843, allocations: 5.699 MB / 0.7183 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/0.8844, allocations: 4.938 kB / 0.7183 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/0.8885, allocations: 2.147 MB / 0.7204 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.8924, allocations: 384.5 kB / 0.7208 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3538/1.246, allocations: 42.99 MB / 0.7628 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007615/1.254, allocations: 3.437 MB / 0.7661 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006226/1.26, allocations: 2.001 MB / 0.7681 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003605/1.264, allocations: 1.879 MB / 0.7699 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.535e-06/1.264, allocations: 0 / 0.7699 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.394, allocations: 60.24 MB / 0.8287 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.63/27.02, allocations: 4 kB / 0.8287 GB, free: 155.8 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