Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000853/0.0008531, allocations: 100.7 kB / 295.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3258/0.3258, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002604, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3161, allocations: 62.96 MB / 0.516 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02429/0.3405, allocations: 34.32 MB / 0.5495 GB, free: 12.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.3581, allocations: 7.8 MB / 0.5571 GB, free: 7.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00646/0.3646, allocations: 156.3 kB / 0.5572 GB, free: 7.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005396/0.3701, allocations: 1.668 MB / 0.5589 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01456/0.3846, allocations: 5.03 MB / 0.5638 GB, free: 4.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.3875, allocations: 0.5003 MB / 0.5643 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00718/0.3947, allocations: 4.347 MB / 0.5685 GB, free: 2.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004941/0.3997, allocations: 3.268 MB / 0.5717 GB, free: 204 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.402, allocations: 1.132 MB / 0.5728 GB, free: 15.06 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.4048, allocations: 1.838 MB / 0.5746 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00067/0.4054, allocations: 148 kB / 0.5747 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4075, allocations: 0.8969 MB / 0.5756 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.4089, allocations: 1.589 MB / 0.5772 GB, free: 10.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.4106, allocations: 1.858 MB / 0.579 GB, free: 8.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.4154, allocations: 5.286 MB / 0.5842 GB, free: 3.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4155, allocations: 0 / 0.5842 GB, free: 3.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4155, allocations: 4 kB / 0.5842 GB, free: 3.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001467/0.4156, allocations: 0 / 0.5842 GB, free: 3.406 MB / 394.7 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.006857/0.4225, allocations: 3.74 MB / 0.5878 GB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4226, allocations: 16.03 kB / 0.5878 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/0.4241, allocations: 0.7658 MB / 0.5886 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4344, allocations: 3.212 MB / 0.5917 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005301/0.4397, allocations: 2.331 MB / 0.594 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.44, allocations: 221.5 kB / 0.5942 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.4407, allocations: 283.8 kB / 0.5945 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.4579, allocations: 11.09 MB / 0.6053 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.4581, allocations: 27.81 kB / 0.6053 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.4586, allocations: 135.8 kB / 0.6055 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004282/0.4629, allocations: 2.62 MB / 0.608 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.4811, allocations: 10.34 MB / 0.6181 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05088/0.5321, allocations: 36.72 MB / 0.654 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008653/0.5408, allocations: 4.555 MB / 0.6584 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003115/0.5439, allocations: 2.396 MB / 0.6608 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.5451, allocations: 1.327 MB / 0.6621 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5451, allocations: 56.5 kB / 0.6621 GB, free: 1.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 5.621e-06/0.5452, allocations: 0 / 0.6621 GB, free: 1.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.2395/0.7847, allocations: 17.54 MB / 0.6792 GB, free: 128.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.7848, allocations: 72.34 kB / 0.6793 GB, free: 128.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.7885, allocations: 2.725 MB / 0.682 GB, free: 128 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000382/0.7888, allocations: 59.77 kB / 0.682 GB, free: 127.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.7899, allocations: 2.775 MB / 0.6847 GB, free: 126.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.7905, allocations: 0.9181 MB / 0.6856 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.7908, allocations: 101.7 kB / 0.6857 GB, free: 125.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.791, allocations: 0.5416 MB / 0.6863 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.7936, allocations: 2.284 MB / 0.6885 GB, free: 124.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/0.7972, allocations: 5.188 MB / 0.6935 GB, free: 119.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/0.8045, allocations: 8.233 MB / 0.7016 GB, free: 113.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.8047, allocations: 28.97 kB / 0.7016 GB, free: 113.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01505/0.8197, allocations: 8.224 MB / 0.7096 GB, free: 110.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/0.8199, allocations: 51.09 kB / 0.7097 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/0.82, allocations: 99.75 kB / 0.7098 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.8231, allocations: 0.9324 MB / 0.7107 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/0.8278, allocations: 1.219 MB / 0.7119 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/0.8351, allocations: 4.799 MB / 0.7166 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/0.8398, allocations: 301.4 kB / 0.7169 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/0.8414, allocations: 308.5 kB / 0.7172 GB, free: 107.9 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005902/0.8473, allocations: 2.15 MB / 0.7193 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008492/0.8482, allocations: 282.1 kB / 0.7195 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008659/0.8569, allocations: 5.116 MB / 0.7245 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.596e-05/0.857, allocations: 42.7 kB / 0.7246 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.857, allocations: 3.719 kB / 0.7246 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.857, allocations: 11.58 kB / 0.7246 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.8739, allocations: 11.87 MB / 0.7362 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.8739, allocations: 12.19 kB / 0.7362 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.8755, allocations: 405.5 kB / 0.7366 GB, free: 99.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.8776, allocations: 0.7717 MB / 0.7373 GB, free: 98.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.8778, allocations: 49.09 kB / 0.7374 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.882, allocations: 4.103 MB / 0.7414 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.8821, allocations: 11.94 kB / 0.7414 GB, free: 94.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009086/0.8912, allocations: 7.607 MB / 0.7488 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/0.892, allocations: 333.4 kB / 0.7491 GB, free: 86.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.8923, allocations: 51.81 kB / 0.7492 GB, free: 86.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.8935, allocations: 143.8 kB / 0.7493 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/0.8939, allocations: 152.9 kB / 0.7495 GB, free: 86.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8941, allocations: 71.98 kB / 0.7495 GB, free: 86.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002027/0.8961, allocations: 1.661 MB / 0.7512 GB, free: 84.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8961, allocations: 0 / 0.7512 GB, free: 84.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003726/0.8998, allocations: 0.9861 MB / 0.7521 GB, free: 83.51 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008898/0.9087, allocations: 8.256 MB / 0.7602 GB, free: 75.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006645/0.9154, allocations: 5.57 MB / 0.7656 GB, free: 69.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.9154, allocations: 4 kB / 0.7656 GB, free: 69.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/0.9176, allocations: 2.137 MB / 0.7677 GB, free: 67.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/0.9224, allocations: 392.3 kB / 0.7681 GB, free: 67.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04003/0.9624, allocations: 31.83 MB / 0.7992 GB, free: 32.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/0.9657, allocations: 3.379 MB / 0.8025 GB, free: 29.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/0.9681, allocations: 1.882 MB / 0.8043 GB, free: 27.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9681, allocations: 4 kB / 0.8043 GB, free: 27.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.86/7.828, allocations: 89.66 MB / 0.8919 GB, free: 167.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches