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.001051/0.001051, allocations: 102 kB / 15.98 MB, free: 6.301 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.001114/0.001114, allocations: 196 kB / 16.91 MB, free: 6.152 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.42/1.42, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3446/0.3446, allocations: 43.49 MB / 313.6 MB, free: 8.52 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.001564/0.001564, allocations: 59.91 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2835/0.4036, allocations: 38.32 MB / 478.4 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01989/0.4235, allocations: 8.189 MB / 486.6 MB, free: 22.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008543/0.4321, allocations: 152.7 kB / 486.8 MB, free: 22.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.4358, allocations: 1.747 MB / 488.5 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.4409, allocations: 1.741 MB / 490.2 MB, free: 21.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.4424, allocations: 0.5286 MB / 490.8 MB, free: 20.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.4475, allocations: 3.967 MB / 494.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.4522, allocations: 2.84 MB / 497.6 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.456, allocations: 1.418 MB / 499 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.4602, allocations: 2.167 MB / 0.4894 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001728/0.4619, allocations: 295.7 kB / 0.4897 GB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.4656, allocations: 1.014 MB / 0.4907 GB, free: 16.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.4694, allocations: 1.825 MB / 0.4925 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006649/0.476, allocations: 2.188 MB / 0.4946 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.4896, allocations: 6.824 MB / 0.5013 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4896, allocations: 4 kB / 0.5013 GB, free: 11.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4896, allocations: 0 / 0.5013 GB, free: 11.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003546/0.49, allocations: 1.312 kB / 0.5013 GB, free: 11.91 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.01868/0.5087, allocations: 4.656 MB / 0.5058 GB, free: 9.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.5087, allocations: 18 kB / 0.5058 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003703/0.5125, allocations: 0.7872 MB / 0.5066 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.525, allocations: 3.121 MB / 0.5097 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.5322, allocations: 2.596 MB / 0.5122 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.5327, allocations: 220 kB / 0.5124 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.535, allocations: 301.8 kB / 0.5127 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/0.5613, allocations: 11.32 MB / 0.5237 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/0.5616, allocations: 31.72 kB / 0.5238 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001911/0.5636, allocations: 143.8 kB / 0.5239 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005616/0.5692, allocations: 2.707 MB / 0.5266 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02491/0.5941, allocations: 10.48 MB / 0.5368 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07042/0.6646, allocations: 37.51 MB / 0.5734 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009897/0.6746, allocations: 4.579 MB / 0.5779 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/0.6785, allocations: 2.402 MB / 0.5802 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.68, allocations: 1.33 MB / 0.5815 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.68, allocations: 52.56 kB / 0.5816 GB, free: 14.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.302e-06/0.68, allocations: 0 / 0.5816 GB, free: 14.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04608/0.7261, allocations: 17.66 MB / 0.5988 GB, free: 12.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.7262, allocations: 77.34 kB / 0.5989 GB, free: 12.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005985/0.7322, allocations: 2.813 MB / 0.6017 GB, free: 9.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005783/0.7328, allocations: 53.7 kB / 0.6017 GB, free: 9.652 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002874/0.7357, allocations: 2.853 MB / 0.6045 GB, free: 6.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002083/0.7378, allocations: 0.9212 MB / 0.6054 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004003/0.7419, allocations: 1.08 MB / 0.6064 GB, free: 4.734 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.742, allocations: 305.1 kB / 0.6067 GB, free: 4.434 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/0.7466, allocations: 2.322 MB / 0.609 GB, free: 2.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007229/0.7538, allocations: 5.299 MB / 0.6142 GB, free: 11.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.7659, allocations: 8.372 MB / 0.6224 GB, free: 1.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.766, allocations: 28 kB / 0.6224 GB, free: 1.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01801/0.7841, allocations: 8.371 MB / 0.6306 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.7842, allocations: 48 kB / 0.6306 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/0.7845, allocations: 104 kB / 0.6307 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/0.7873, allocations: 0.9456 MB / 0.6316 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/0.7921, allocations: 1.244 MB / 0.6328 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/0.7998, allocations: 5.153 MB / 0.6379 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/0.8045, allocations: 303.8 kB / 0.6382 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.8057, allocations: 308 kB / 0.6385 GB, free: 0.8789 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.2919/1.098, allocations: 2.181 MB / 0.6406 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/1.098, allocations: 286.5 kB / 0.6409 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008352/1.107, allocations: 5.14 MB / 0.6459 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/1.107, allocations: 47.03 kB / 0.6459 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.107, allocations: 0 / 0.6459 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/1.107, allocations: 10.92 kB / 0.6459 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/1.126, allocations: 11.97 MB / 0.6576 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.126, allocations: 12.36 kB / 0.6576 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.128, allocations: 395.3 kB / 0.658 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/1.13, allocations: 0.7783 MB / 0.6588 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/1.13, allocations: 50.34 kB / 0.6588 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005766/1.136, allocations: 4.383 MB / 0.6631 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/1.136, allocations: 15.84 kB / 0.6631 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.148, allocations: 7.636 MB / 0.6706 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/1.15, allocations: 0.685 MB / 0.6712 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009052/1.151, allocations: 46.36 kB / 0.6713 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.153, allocations: 154.5 kB / 0.6714 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/1.154, allocations: 151.2 kB / 0.6716 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.154, allocations: 75.11 kB / 0.6716 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004228/1.158, allocations: 1.731 MB / 0.6733 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.158, allocations: 3.719 kB / 0.6733 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007603/1.166, allocations: 0.9966 MB / 0.6743 GB, free: 120.6 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.0109/1.177, allocations: 8.299 MB / 0.6824 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.19, allocations: 9.131 MB / 0.6913 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.19, allocations: 8.062 kB / 0.6913 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.192, allocations: 2.147 MB / 0.6934 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.196, allocations: 396 kB / 0.6938 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07439/1.27, allocations: 48.43 MB / 0.7411 GB, free: 57.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006165/1.276, allocations: 3.432 MB / 0.7445 GB, free: 53.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004188/1.28, allocations: 1.994 MB / 0.7464 GB, free: 51.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002598/1.283, allocations: 1.882 MB / 0.7482 GB, free: 49.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/1.283, allocations: 4 kB / 0.7483 GB, free: 49.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/1.45, allocations: 63.04 MB / 0.8098 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.45, allocations: 214.2 kB / 0.81 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/5.321, allocations: 0.9844 kB / 0.81 GB, free: 2.625 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches