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.001177/0.001177, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001199/0.001199, allocations: 194 kB / 18.12 MB, free: 5.363 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.382/1.382, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.17 MB / 336.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 64.27 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03686/0.1648, allocations: 37.93 MB / 0.4947 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.1843, allocations: 8.261 MB / 0.5028 GB, free: 352 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007751/0.1921, allocations: 155.6 kB / 0.5029 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2577/0.4499, allocations: 1.769 MB / 0.5046 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.4555, allocations: 1.709 MB / 0.5063 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.4571, allocations: 0.5113 MB / 0.5068 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008244/0.4653, allocations: 5.423 MB / 0.5121 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/0.47, allocations: 2.633 MB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.4726, allocations: 1.198 MB / 0.5158 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.4762, allocations: 2.039 MB / 0.5178 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000879/0.4771, allocations: 204.2 kB / 0.518 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.4797, allocations: 0.9782 MB / 0.519 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002072/0.4818, allocations: 1.704 MB / 0.5206 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.4842, allocations: 2.052 MB / 0.5226 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006632/0.4908, allocations: 6.596 MB / 0.5291 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4909, allocations: 0 / 0.5291 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4909, allocations: 0 / 0.5291 GB, free: 4.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002198/0.4911, allocations: 0 / 0.5291 GB, free: 4.793 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.008261/0.4994, allocations: 4.567 MB / 0.5335 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4994, allocations: 8.656 kB / 0.5336 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001009/0.5004, allocations: 0.7593 MB / 0.5343 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.5108, allocations: 3.126 MB / 0.5374 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/0.5162, allocations: 2.437 MB / 0.5397 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.5164, allocations: 224.5 kB / 0.5399 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008209/0.5173, allocations: 288.4 kB / 0.5402 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/0.5362, allocations: 11.1 MB / 0.5511 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.935e-05/0.5363, allocations: 33.03 kB / 0.5511 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.5367, allocations: 132.8 kB / 0.5512 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004496/0.5413, allocations: 2.62 MB / 0.5538 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.5631, allocations: 10.38 MB / 0.5639 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/0.6198, allocations: 36.68 MB / 0.5997 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/0.6292, allocations: 4.584 MB / 0.6042 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.6326, allocations: 2.392 MB / 0.6065 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.6339, allocations: 1.324 MB / 0.6078 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.634, allocations: 56.5 kB / 0.6079 GB, free: 7.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.641e-06/0.634, allocations: 0 / 0.6079 GB, free: 7.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04123/0.6752, allocations: 17.58 MB / 0.6251 GB, free: 6.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.6753, allocations: 76.12 kB / 0.6251 GB, free: 5.992 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/0.6805, allocations: 2.747 MB / 0.6278 GB, free: 3.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.6808, allocations: 56.52 kB / 0.6279 GB, free: 3.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.6829, allocations: 2.775 MB / 0.6306 GB, free: 400 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.6842, allocations: 0.9144 MB / 0.6315 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/0.6866, allocations: 1.07 MB / 0.6325 GB, free: 14.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6867, allocations: 305.1 kB / 0.6328 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.6904, allocations: 2.31 MB / 0.6351 GB, free: 11.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005679/0.6961, allocations: 5.21 MB / 0.6402 GB, free: 5.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009839/0.7059, allocations: 8.251 MB / 0.6482 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.051e-05/0.706, allocations: 36 kB / 0.6482 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01611/0.7222, allocations: 8.27 MB / 0.6563 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.7224, allocations: 48 kB / 0.6564 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/0.7226, allocations: 104 kB / 0.6565 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.7256, allocations: 0.9514 MB / 0.6574 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/0.7298, allocations: 1.217 MB / 0.6586 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/0.7365, allocations: 4.77 MB / 0.6632 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/0.7406, allocations: 307.7 kB / 0.6635 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.7417, allocations: 302.2 kB / 0.6638 GB, free: 11.92 MB / 0.5137 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.005059/0.7467, allocations: 2.153 MB / 0.6659 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/0.7475, allocations: 280.4 kB / 0.6662 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009551/0.7571, allocations: 5.137 MB / 0.6712 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-05/0.7572, allocations: 46.27 kB / 0.6713 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.7572, allocations: 0 / 0.6713 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.7572, allocations: 15.95 kB / 0.6713 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/0.7802, allocations: 11.9 MB / 0.6829 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/0.7803, allocations: 11.98 kB / 0.6829 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.782, allocations: 395.3 kB / 0.6833 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.7845, allocations: 0.7818 MB / 0.684 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/0.7848, allocations: 47.98 kB / 0.6841 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.7905, allocations: 4.094 MB / 0.6881 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/0.7906, allocations: 19.88 kB / 0.6881 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/0.8026, allocations: 7.62 MB / 0.6956 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008771/0.8035, allocations: 329.5 kB / 0.6959 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008256/0.8044, allocations: 51.98 kB / 0.6959 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.8062, allocations: 147.8 kB / 0.6961 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/0.8066, allocations: 160.8 kB / 0.6962 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/0.8069, allocations: 71.59 kB / 0.6963 GB, free: 10.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003672/0.8105, allocations: 1.693 MB / 0.6979 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8105, allocations: 4 kB / 0.6979 GB, free: 8.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00539/0.8159, allocations: 0.9804 MB / 0.6989 GB, free: 7.5 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.2477/1.064, allocations: 8.28 MB / 0.707 GB, free: 202.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.075, allocations: 5.613 MB / 0.7125 GB, free: 201.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/1.075, allocations: 6.344 kB / 0.7125 GB, free: 201.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00409/1.079, allocations: 2.152 MB / 0.7146 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.082, allocations: 380 kB / 0.7149 GB, free: 200.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07011/1.153, allocations: 47.5 MB / 0.7613 GB, free: 165.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003283/1.156, allocations: 3.371 MB / 0.7646 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004164/1.16, allocations: 1.982 MB / 0.7665 GB, free: 160.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.162, allocations: 1.842 MB / 0.7683 GB, free: 159 MB / 0.545 GB Notification: Performance of SimCode: time 2.274e-06/1.162, allocations: 0 / 0.7683 GB, free: 159 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08609/1.248, allocations: 61.23 MB / 0.8281 GB, free: 98.05 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.249, allocations: 218.7 kB / 0.8283 GB, free: 97.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.443/4.691, allocations: 0 / 0.8283 GB, free: 97.79 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