Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_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.0007171/0.0007169, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0008521/0.0008521, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1862/0.1862, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 11.98 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03332/0.1375, allocations: 36.84 MB / 0.4973 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.1561, allocations: 8.184 MB / 0.5053 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2064/0.3626, allocations: 153.3 kB / 0.5054 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.3641, allocations: 465.1 kB / 0.5058 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005184/0.3693, allocations: 1.728 MB / 0.5075 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.3707, allocations: 0.5206 MB / 0.508 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00716/0.3779, allocations: 5.412 MB / 0.5133 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005477/0.3834, allocations: 3.392 MB / 0.5166 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.3855, allocations: 1.058 MB / 0.5177 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.3881, allocations: 1.881 MB / 0.5195 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004223/0.3885, allocations: 148.6 kB / 0.5197 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3902, allocations: 0.9236 MB / 0.5206 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.3915, allocations: 1.633 MB / 0.5222 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.393, allocations: 1.976 MB / 0.5241 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.3979, allocations: 6.431 MB / 0.5304 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3979, allocations: 7.062 kB / 0.5304 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3979, allocations: 0 / 0.5304 GB, free: 4.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.398, allocations: 0 / 0.5304 GB, free: 4.781 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.005088/0.4031, allocations: 3.722 MB / 0.534 GB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4031, allocations: 12.84 kB / 0.534 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000717/0.4039, allocations: 0.768 MB / 0.5348 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009669/0.4135, allocations: 3.211 MB / 0.5379 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.4181, allocations: 2.437 MB / 0.5403 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.4182, allocations: 215.7 kB / 0.5405 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007764/0.419, allocations: 294.1 kB / 0.5408 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4353, allocations: 11.12 MB / 0.5516 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.952e-05/0.4354, allocations: 28.03 kB / 0.5517 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.4358, allocations: 134.4 kB / 0.5518 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004148/0.44, allocations: 2.624 MB / 0.5543 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4576, allocations: 10.39 MB / 0.5645 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05163/0.5093, allocations: 36.7 MB / 0.6003 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008506/0.5179, allocations: 4.577 MB / 0.6048 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.5211, allocations: 2.392 MB / 0.6071 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.5224, allocations: 1.325 MB / 0.6084 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.5225, allocations: 59.12 kB / 0.6085 GB, free: 9.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.022e-06/0.5225, allocations: 0 / 0.6085 GB, free: 9.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.03812/0.5606, allocations: 17.57 MB / 0.6256 GB, free: 7.543 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5607, allocations: 77.39 kB / 0.6257 GB, free: 7.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.5646, allocations: 2.743 MB / 0.6284 GB, free: 4.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.5649, allocations: 57.7 kB / 0.6284 GB, free: 4.637 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.5665, allocations: 2.779 MB / 0.6312 GB, free: 1.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000858/0.5674, allocations: 0.9145 MB / 0.6321 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006949/0.5681, allocations: 478 kB / 0.6325 GB, free: 488 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.5682, allocations: 305.1 kB / 0.6328 GB, free: 180 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.5715, allocations: 2.31 MB / 0.6351 GB, free: 13.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.5767, allocations: 5.206 MB / 0.6401 GB, free: 7.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009328/0.586, allocations: 8.264 MB / 0.6482 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.949e-05/0.5861, allocations: 28 kB / 0.6482 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01404/0.6002, allocations: 8.274 MB / 0.6563 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.6003, allocations: 48 kB / 0.6564 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/0.6005, allocations: 100 kB / 0.6565 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.6032, allocations: 0.9454 MB / 0.6574 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.607, allocations: 1.224 MB / 0.6586 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.6132, allocations: 4.771 MB / 0.6632 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.6167, allocations: 303.7 kB / 0.6635 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008476/0.6176, allocations: 311 kB / 0.6638 GB, free: 13.86 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (653): * Single equations (assignments): 646 * 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.004632/0.6222, allocations: 2.147 MB / 0.6659 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006864/0.6229, allocations: 276.4 kB / 0.6662 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009563/0.6325, allocations: 5.131 MB / 0.6712 GB, free: 6.262 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.581e-05/0.6326, allocations: 49.94 kB / 0.6712 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.6326, allocations: 0 / 0.6712 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/0.6327, allocations: 7.969 kB / 0.6712 GB, free: 6.207 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/0.6569, allocations: 11.91 MB / 0.6829 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.657, allocations: 8 kB / 0.6829 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.6588, allocations: 400.2 kB / 0.6833 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.6614, allocations: 0.777 MB / 0.684 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/0.6617, allocations: 44 kB / 0.6841 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005374/0.6671, allocations: 4.099 MB / 0.6881 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.6671, allocations: 19.88 kB / 0.6881 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.6788, allocations: 7.627 MB / 0.6955 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007829/0.6796, allocations: 329.4 kB / 0.6959 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006332/0.6803, allocations: 52 kB / 0.6959 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.6818, allocations: 150.8 kB / 0.696 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/0.6822, allocations: 160.9 kB / 0.6962 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.6824, allocations: 75.92 kB / 0.6963 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003067/0.6855, allocations: 1.689 MB / 0.6979 GB, free: 10.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6855, allocations: 4 kB / 0.6979 GB, free: 10.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004214/0.6897, allocations: 0.9802 MB / 0.6989 GB, free: 9.438 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.01313/0.7029, allocations: 8.276 MB / 0.707 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2152/0.9181, allocations: 5.617 MB / 0.7125 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.9181, allocations: 1.125 kB / 0.7125 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.9208, allocations: 2.149 MB / 0.7146 GB, free: 205.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/0.9258, allocations: 388.3 kB / 0.7149 GB, free: 205.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05528/0.9811, allocations: 47.59 MB / 0.7614 GB, free: 168.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/0.9841, allocations: 3.373 MB / 0.7647 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003732/0.9878, allocations: 1.982 MB / 0.7666 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/0.9896, allocations: 1.843 MB / 0.7684 GB, free: 161 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.9896, allocations: 0 / 0.7684 GB, free: 161 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06898/1.059, allocations: 60.45 MB / 0.8275 GB, free: 100.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/1.059, allocations: 217.5 kB / 0.8277 GB, free: 100.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.053, allocations: 0 / 0.8277 GB, free: 100.7 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches