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.005267/0.005267, allocations: 99.83 kB / 15.87 MB, free: 6.309 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.001104/0.001104, allocations: 193.8 kB / 16.79 MB, free: 6.238 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.284/1.284, allocations: 205.1 MB / 222.6 MB, free: 4.926 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.3004/0.3004, allocations: 43.49 MB / 313.5 MB, free: 8.375 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.002146/0.002146, allocations: 67.89 kB / 382.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 57.78 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1927/0.3083, allocations: 38.31 MB / 478.2 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.3231, allocations: 8.296 MB / 486.5 MB, free: 23.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006464/0.3296, allocations: 157.4 kB / 486.7 MB, free: 23.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.3331, allocations: 1.78 MB / 488.5 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.3374, allocations: 1.746 MB / 490.2 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3387, allocations: 0.5214 MB / 490.7 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.3441, allocations: 5.538 MB / 496.3 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.3484, allocations: 2.663 MB / 498.9 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.3512, allocations: 1.224 MB / 0.4884 GB, free: 18.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.3557, allocations: 2.072 MB / 0.4905 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001336/0.3571, allocations: 207.1 kB / 0.4907 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.3602, allocations: 0.9763 MB / 0.4916 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.3628, allocations: 1.735 MB / 0.4933 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.3664, allocations: 2.099 MB / 0.4953 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008722/0.3751, allocations: 6.713 MB / 0.5019 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3751, allocations: 0 / 0.5019 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3751, allocations: 1.094 kB / 0.5019 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002533/0.3754, allocations: 0 / 0.5019 GB, free: 12.43 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.01203/0.3874, allocations: 4.655 MB / 0.5064 GB, free: 9.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3875, allocations: 9.656 kB / 0.5065 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002335/0.3899, allocations: 0.7836 MB / 0.5072 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4003, allocations: 3.121 MB / 0.5103 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005143/0.4055, allocations: 2.593 MB / 0.5128 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.4057, allocations: 223.6 kB / 0.513 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.4069, allocations: 299 kB / 0.5133 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.424, allocations: 11.32 MB / 0.5244 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.4241, allocations: 31.7 kB / 0.5244 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/0.4246, allocations: 139.8 kB / 0.5245 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004489/0.4291, allocations: 2.714 MB / 0.5272 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01955/0.4487, allocations: 10.47 MB / 0.5374 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05518/0.5039, allocations: 37.52 MB / 0.574 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00841/0.5124, allocations: 4.567 MB / 0.5785 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/0.5155, allocations: 2.408 MB / 0.5809 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.5167, allocations: 1.319 MB / 0.5821 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.299e-05/0.5168, allocations: 56.56 kB / 0.5822 GB, free: 13.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.2e-06/0.5168, allocations: 0 / 0.5822 GB, free: 13.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.03772/0.5545, allocations: 17.66 MB / 0.5994 GB, free: 11.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.5546, allocations: 73.41 kB / 0.5995 GB, free: 11.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.5585, allocations: 2.805 MB / 0.6023 GB, free: 9.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.5588, allocations: 57.7 kB / 0.6023 GB, free: 8.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.5606, allocations: 2.853 MB / 0.6051 GB, free: 6.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.5616, allocations: 0.9173 MB / 0.606 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.563, allocations: 1.084 MB / 0.607 GB, free: 4.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.5631, allocations: 309.1 kB / 0.6073 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.5663, allocations: 2.326 MB / 0.6096 GB, free: 1.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/0.5713, allocations: 5.299 MB / 0.6148 GB, free: 10.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/0.5801, allocations: 8.372 MB / 0.623 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.283e-05/0.5802, allocations: 28 kB / 0.623 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01381/0.594, allocations: 8.368 MB / 0.6312 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.5941, allocations: 48 kB / 0.6312 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.5942, allocations: 104 kB / 0.6313 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.5967, allocations: 0.948 MB / 0.6322 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.6007, allocations: 1.248 MB / 0.6335 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00596/0.6067, allocations: 4.773 MB / 0.6381 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.6103, allocations: 311.7 kB / 0.6384 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006315/0.611, allocations: 315.9 kB / 0.6387 GB, free: 0.5781 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.2152/0.8262, allocations: 2.179 MB / 0.6408 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/0.8267, allocations: 281.8 kB / 0.6411 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/0.8345, allocations: 5.143 MB / 0.6461 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/0.8346, allocations: 43.7 kB / 0.6462 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.8347, allocations: 4.406 kB / 0.6462 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.8347, allocations: 9.141 kB / 0.6462 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.8519, allocations: 11.98 MB / 0.6579 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.852, allocations: 9.734 kB / 0.6579 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.8536, allocations: 399.7 kB / 0.6583 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.856, allocations: 0.7775 MB / 0.659 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.8562, allocations: 47.45 kB / 0.6591 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/0.8619, allocations: 4.091 MB / 0.6631 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-05/0.8619, allocations: 17.28 kB / 0.6631 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.8737, allocations: 7.625 MB / 0.6705 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.8755, allocations: 0.6811 MB / 0.6712 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008391/0.8764, allocations: 48.45 kB / 0.6712 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.8781, allocations: 152 kB / 0.6714 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/0.8785, allocations: 154.3 kB / 0.6715 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/0.8787, allocations: 76.08 kB / 0.6716 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00366/0.8824, allocations: 1.733 MB / 0.6733 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.21e-07/0.8824, allocations: 5.344 kB / 0.6733 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005324/0.8878, allocations: 1.001 MB / 0.6743 GB, free: 120.4 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.01074/0.8985, allocations: 8.287 MB / 0.6824 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007578/0.9061, allocations: 5.665 MB / 0.6879 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.9062, allocations: 0 / 0.6879 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.9089, allocations: 2.148 MB / 0.69 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.9122, allocations: 398 kB / 0.6904 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06699/0.9792, allocations: 48.41 MB / 0.7377 GB, free: 60.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004857/0.9841, allocations: 3.439 MB / 0.741 GB, free: 57.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004365/0.9885, allocations: 2.003 MB / 0.743 GB, free: 55.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/0.9916, allocations: 1.878 MB / 0.7448 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.9916, allocations: 0 / 0.7448 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/1.074, allocations: 61.83 MB / 0.8052 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.074, allocations: 218.1 kB / 0.8054 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/4.319, allocations: 1.531 kB / 0.8054 GB, free: 7.25 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