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.0009695/0.0009695, allocations: 96.86 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 181.3 kB / 16.91 MB, free: 6.914 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.407/1.407, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3325/0.3325, allocations: 43.58 MB / 315 MB, free: 8.805 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.0005399/0.0005399, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 58.85 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2298/0.3482, allocations: 37.2 MB / 480.7 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.3643, allocations: 8.227 MB / 489 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006265/0.3706, allocations: 156.9 kB / 489.1 MB, free: 22.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.3718, allocations: 488.3 kB / 489.6 MB, free: 22.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.376, allocations: 1.754 MB / 491.4 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3771, allocations: 0.5099 MB / 491.9 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.3821, allocations: 5.548 MB / 497.4 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.387, allocations: 3.404 MB / 0.4891 GB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.3891, allocations: 1.096 MB / 0.4901 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.3924, allocations: 1.907 MB / 0.492 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.393, allocations: 150 kB / 0.4922 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.3954, allocations: 0.9154 MB / 0.493 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.3973, allocations: 1.679 MB / 0.4947 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.3993, allocations: 2.027 MB / 0.4967 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009167/0.4084, allocations: 6.542 MB / 0.5031 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4085, allocations: 1.344 kB / 0.5031 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4085, allocations: 0 / 0.5031 GB, free: 12.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.4088, allocations: 0 / 0.5031 GB, free: 12.72 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01001/0.4188, allocations: 3.811 MB / 0.5068 GB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4188, allocations: 9.75 kB / 0.5068 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001757/0.4206, allocations: 0.7787 MB / 0.5075 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.4321, allocations: 3.217 MB / 0.5107 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/0.4391, allocations: 2.598 MB / 0.5132 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.4393, allocations: 224.2 kB / 0.5134 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.4405, allocations: 295 kB / 0.5137 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.4583, allocations: 11.33 MB / 0.5248 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.4585, allocations: 31.66 kB / 0.5248 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004343/0.4589, allocations: 135.8 kB / 0.5249 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004825/0.4638, allocations: 2.714 MB / 0.5276 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.4842, allocations: 10.48 MB / 0.5378 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05507/0.5393, allocations: 37.53 MB / 0.5745 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008619/0.5479, allocations: 4.574 MB / 0.5789 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.5511, allocations: 2.404 MB / 0.5813 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.5524, allocations: 1.319 MB / 0.5826 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.5524, allocations: 52.5 kB / 0.5826 GB, free: 15.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.512e-06/0.5524, allocations: 0 / 0.5826 GB, free: 15.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04163/0.5941, allocations: 17.65 MB / 0.5999 GB, free: 13.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5942, allocations: 73.41 kB / 0.5999 GB, free: 13.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/0.5994, allocations: 2.813 MB / 0.6027 GB, free: 10.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.5997, allocations: 57.7 kB / 0.6027 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.6018, allocations: 2.853 MB / 0.6055 GB, free: 7.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009902/0.6028, allocations: 0.9212 MB / 0.6064 GB, free: 6.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000676/0.6035, allocations: 486.2 kB / 0.6069 GB, free: 6.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.6036, allocations: 305.1 kB / 0.6072 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.6068, allocations: 2.322 MB / 0.6095 GB, free: 3.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/0.6122, allocations: 5.295 MB / 0.6146 GB, free: 12.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009498/0.6217, allocations: 8.38 MB / 0.6228 GB, free: 2.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.368e-05/0.6218, allocations: 32 kB / 0.6228 GB, free: 2.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01497/0.6368, allocations: 8.372 MB / 0.631 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.6369, allocations: 52 kB / 0.6311 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.637, allocations: 100 kB / 0.6312 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/0.6397, allocations: 0.9449 MB / 0.6321 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/0.6435, allocations: 1.244 MB / 0.6333 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006206/0.6498, allocations: 4.773 MB / 0.638 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.653, allocations: 299.8 kB / 0.6382 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/0.6535, allocations: 321.8 kB / 0.6386 GB, free: 2.688 MB / 0.4981 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.003843/0.6574, allocations: 2.189 MB / 0.6407 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.6578, allocations: 280.3 kB / 0.641 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1987/0.8565, allocations: 5.133 MB / 0.646 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.87e-05/0.8567, allocations: 54.52 kB / 0.646 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8567, allocations: 4.625 kB / 0.646 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/0.8567, allocations: 9.281 kB / 0.646 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.8761, allocations: 11.96 MB / 0.6577 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.8762, allocations: 12.88 kB / 0.6577 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.8778, allocations: 405 kB / 0.6581 GB, free: 153 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.8801, allocations: 0.7695 MB / 0.6589 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003247/0.8804, allocations: 57.78 kB / 0.6589 GB, free: 152.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.8849, allocations: 4.088 MB / 0.6629 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.885, allocations: 17.06 kB / 0.6629 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/0.8968, allocations: 7.631 MB / 0.6704 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.8985, allocations: 0.6845 MB / 0.6711 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/0.899, allocations: 48.89 kB / 0.6711 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.9003, allocations: 140.9 kB / 0.6712 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.9007, allocations: 157.8 kB / 0.6714 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.9009, allocations: 76.25 kB / 0.6715 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002638/0.9035, allocations: 1.734 MB / 0.6732 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9035, allocations: 0 / 0.6732 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004382/0.9079, allocations: 1.004 MB / 0.6741 GB, free: 146.9 MB / 0.4981 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.01219/0.9201, allocations: 8.284 MB / 0.6822 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007638/0.9278, allocations: 5.665 MB / 0.6878 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.9278, allocations: 0 / 0.6878 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.9303, allocations: 2.153 MB / 0.6899 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005638/0.936, allocations: 374.4 kB / 0.6902 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06662/1.003, allocations: 48.53 MB / 0.7376 GB, free: 90.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.007, allocations: 3.439 MB / 0.741 GB, free: 86.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005199/1.012, allocations: 1.994 MB / 0.7429 GB, free: 84.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003574/1.016, allocations: 1.886 MB / 0.7448 GB, free: 82.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/1.016, allocations: 4 kB / 0.7448 GB, free: 82.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08238/1.098, allocations: 61.04 MB / 0.8044 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.099, allocations: 221.4 kB / 0.8046 GB, free: 21.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/4.4, allocations: 0 / 0.8046 GB, free: 21.49 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches