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.001365/0.001365, allocations: 108 kB / 16.41 MB, free: 6.488 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.001473/0.001473, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2089/0.2089, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001671/0.001671, allocations: 75.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01423/0.1244, allocations: 13.92 MB / 0.501 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008605/0.1331, allocations: 4.198 MB / 0.5051 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.1352, allocations: 71.81 kB / 0.5052 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.139, allocations: 1.833 MB / 0.507 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.1438, allocations: 1.919 MB / 0.5088 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.1455, allocations: 0.5576 MB / 0.5094 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.1507, allocations: 3.957 MB / 0.5133 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.1548, allocations: 2.736 MB / 0.5159 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.1575, allocations: 1.417 MB / 0.5173 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.1605, allocations: 1.982 MB / 0.5192 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.1616, allocations: 292 kB / 0.5195 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.1641, allocations: 0.9986 MB / 0.5205 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.1664, allocations: 1.808 MB / 0.5223 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003933/0.1703, allocations: 2.174 MB / 0.5244 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2562/0.4265, allocations: 7.109 MB / 0.5313 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.4266, allocations: 2.5 kB / 0.5313 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4266, allocations: 1.969 kB / 0.5313 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003542/0.427, allocations: 0 / 0.5313 GB, free: 12.96 MB / 414.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.01462/0.4416, allocations: 4.785 MB / 0.536 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.4417, allocations: 13.95 kB / 0.536 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002382/0.4441, allocations: 0.7827 MB / 0.5368 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.4564, allocations: 3.15 MB / 0.5399 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008089/0.4645, allocations: 2.631 MB / 0.5424 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.4648, allocations: 224.6 kB / 0.5426 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.4667, allocations: 299.9 kB / 0.5429 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.4866, allocations: 11.32 MB / 0.554 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.4868, allocations: 31.73 kB / 0.554 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007225/0.4876, allocations: 134.2 kB / 0.5541 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004259/0.4918, allocations: 2.713 MB / 0.5568 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.5099, allocations: 10.48 MB / 0.567 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/0.57, allocations: 37.35 MB / 0.6035 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008966/0.579, allocations: 4.581 MB / 0.608 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.5823, allocations: 2.402 MB / 0.6103 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.5835, allocations: 1.318 MB / 0.6116 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.5836, allocations: 60.5 kB / 0.6117 GB, free: 5.594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.081e-06/0.5836, allocations: 3.656 kB / 0.6117 GB, free: 5.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04376/0.6273, allocations: 17.74 MB / 0.629 GB, free: 3.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.6274, allocations: 73.41 kB / 0.6291 GB, free: 3.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.6318, allocations: 2.808 MB / 0.6318 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004996/0.6323, allocations: 57.7 kB / 0.6319 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.6344, allocations: 2.971 MB / 0.6348 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.6357, allocations: 0.9601 MB / 0.6357 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002471/0.6382, allocations: 1.099 MB / 0.6368 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6383, allocations: 305.1 kB / 0.6371 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003654/0.642, allocations: 2.318 MB / 0.6393 GB, free: 9.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005943/0.6479, allocations: 5.301 MB / 0.6445 GB, free: 2.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009985/0.658, allocations: 8.376 MB / 0.6527 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.6581, allocations: 28 kB / 0.6527 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.0165/0.6746, allocations: 8.383 MB / 0.6609 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.6748, allocations: 48 kB / 0.6609 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/0.675, allocations: 105.5 kB / 0.661 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.678, allocations: 0.9425 MB / 0.662 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004284/0.6823, allocations: 1.244 MB / 0.6632 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/0.6894, allocations: 5.149 MB / 0.6682 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/0.6932, allocations: 295.8 kB / 0.6685 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009802/0.6942, allocations: 316.1 kB / 0.6688 GB, free: 9.074 MB / 0.5137 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.004265/0.6985, allocations: 2.192 MB / 0.6709 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/0.6992, allocations: 301.9 kB / 0.6712 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/0.7085, allocations: 5.126 MB / 0.6762 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.476e-05/0.7087, allocations: 51.27 kB / 0.6763 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.7087, allocations: 4 kB / 0.6763 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.7087, allocations: 7.969 kB / 0.6763 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/0.7333, allocations: 11.96 MB / 0.688 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.7334, allocations: 12 kB / 0.688 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.7353, allocations: 399.3 kB / 0.6884 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.7379, allocations: 0.7707 MB / 0.6891 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005111/0.7385, allocations: 54.19 kB / 0.6892 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/0.7443, allocations: 4.391 MB / 0.6934 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.7444, allocations: 15.94 kB / 0.6935 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.7566, allocations: 7.648 MB / 0.7009 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/0.759, allocations: 0.6942 MB / 0.7016 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008972/0.7599, allocations: 47.98 kB / 0.7017 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.7618, allocations: 157.8 kB / 0.7018 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/0.7623, allocations: 148.9 kB / 0.7019 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/0.7626, allocations: 75.03 kB / 0.702 GB, free: 6.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003269/0.7659, allocations: 1.734 MB / 0.7037 GB, free: 4.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7659, allocations: 0 / 0.7037 GB, free: 4.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005437/0.7714, allocations: 0.9921 MB / 0.7047 GB, free: 3.812 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.01314/0.7845, allocations: 8.316 MB / 0.7128 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009476/0.7941, allocations: 5.704 MB / 0.7184 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.7941, allocations: 0 / 0.7184 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.7977, allocations: 2.153 MB / 0.7205 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.8011, allocations: 392.5 kB / 0.7208 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2859/1.087, allocations: 42.98 MB / 0.7628 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004977/1.092, allocations: 3.437 MB / 0.7662 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004866/1.097, allocations: 2.001 MB / 0.7681 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/1.1, allocations: 1.878 MB / 0.77 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.1, allocations: 3.75 kB / 0.77 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08839/1.188, allocations: 60.23 MB / 0.8288 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/23.74, allocations: 7.984 kB / 0.8288 GB, free: 155.9 MB / 0.5919 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches