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.001681/0.001681, allocations: 104 kB / 16.4 MB, free: 6.465 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.001685/0.001685, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2251/0.2251, allocations: 43.52 MB / 314.1 MB, free: 452 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.002055/0.002055, allocations: 70.03 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1253, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0161/0.1414, allocations: 13.92 MB / 0.501 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1521, allocations: 4.21 MB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.1549, allocations: 67.88 kB / 0.5052 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.1592, allocations: 1.833 MB / 0.507 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005612/0.1648, allocations: 1.864 MB / 0.5088 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1664, allocations: 0.5575 MB / 0.5093 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006064/0.1725, allocations: 3.971 MB / 0.5132 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.176, allocations: 2.72 MB / 0.5159 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.1782, allocations: 1.413 MB / 0.5173 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.1809, allocations: 1.978 MB / 0.5192 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.1815, allocations: 296 kB / 0.5195 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.1839, allocations: 0.9986 MB / 0.5204 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.186, allocations: 1.812 MB / 0.5222 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002934/0.189, allocations: 2.162 MB / 0.5243 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3031/0.4921, allocations: 7.115 MB / 0.5313 GB, free: 12.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4921, allocations: 0.75 kB / 0.5313 GB, free: 12.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4921, allocations: 0.6562 kB / 0.5313 GB, free: 12.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.4924, allocations: 1.188 kB / 0.5313 GB, free: 12.9 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.01247/0.5049, allocations: 4.785 MB / 0.5359 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.505, allocations: 15.17 kB / 0.536 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001818/0.5068, allocations: 0.7834 MB / 0.5367 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.5194, allocations: 3.154 MB / 0.5398 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00691/0.5264, allocations: 2.63 MB / 0.5424 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.5266, allocations: 222 kB / 0.5426 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.5279, allocations: 297.3 kB / 0.5429 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.5499, allocations: 11.31 MB / 0.5539 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.5501, allocations: 31.55 kB / 0.5539 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005297/0.5506, allocations: 141.8 kB / 0.5541 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004365/0.555, allocations: 2.713 MB / 0.5567 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.574, allocations: 10.48 MB / 0.567 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/0.6341, allocations: 37.36 MB / 0.6034 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009681/0.6438, allocations: 4.577 MB / 0.6079 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.6476, allocations: 2.396 MB / 0.6103 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.649, allocations: 1.317 MB / 0.6115 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.6491, allocations: 56.5 kB / 0.6116 GB, free: 5.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 5.58e-06/0.6491, allocations: 0 / 0.6116 GB, free: 5.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04283/0.692, allocations: 17.74 MB / 0.6289 GB, free: 3.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.6921, allocations: 73.41 kB / 0.629 GB, free: 3.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/0.6964, allocations: 2.813 MB / 0.6317 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/0.697, allocations: 64.2 kB / 0.6318 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.6994, allocations: 2.971 MB / 0.6347 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.7008, allocations: 0.9588 MB / 0.6356 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/0.7025, allocations: 1.095 MB / 0.6367 GB, free: 11.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7027, allocations: 301.1 kB / 0.637 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.7063, allocations: 2.322 MB / 0.6393 GB, free: 9.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005896/0.7122, allocations: 5.305 MB / 0.6444 GB, free: 2.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.7236, allocations: 8.366 MB / 0.6526 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.7237, allocations: 32 kB / 0.6526 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01735/0.7411, allocations: 8.379 MB / 0.6608 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.599e-05/0.7412, allocations: 53.2 kB / 0.6609 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/0.7414, allocations: 104 kB / 0.661 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003113/0.7445, allocations: 0.9446 MB / 0.6619 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/0.749, allocations: 1.24 MB / 0.6631 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.7567, allocations: 5.152 MB / 0.6681 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.761, allocations: 299.9 kB / 0.6684 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.7621, allocations: 314.8 kB / 0.6687 GB, free: 9.066 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.005173/0.7673, allocations: 2.189 MB / 0.6709 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007514/0.7681, allocations: 301.9 kB / 0.6712 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/0.7777, allocations: 5.129 MB / 0.6762 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.87e-05/0.7778, allocations: 47.98 kB / 0.6762 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.7778, allocations: 8 kB / 0.6762 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.7778, allocations: 7.969 kB / 0.6762 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.8012, allocations: 11.97 MB / 0.6879 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.8012, allocations: 8 kB / 0.6879 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.803, allocations: 403.4 kB / 0.6883 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.8056, allocations: 0.7751 MB / 0.6891 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003371/0.8059, allocations: 48 kB / 0.6891 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00629/0.8122, allocations: 4.392 MB / 0.6934 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.8123, allocations: 20 kB / 0.6934 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.8247, allocations: 7.639 MB / 0.7009 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.8264, allocations: 0.6942 MB / 0.7015 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/0.827, allocations: 51.98 kB / 0.7016 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.8285, allocations: 146.9 kB / 0.7017 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/0.8288, allocations: 152.9 kB / 0.7019 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.829, allocations: 71.98 kB / 0.702 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002933/0.832, allocations: 1.732 MB / 0.7036 GB, free: 4.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.832, allocations: 3.562 kB / 0.7036 GB, free: 4.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005029/0.837, allocations: 1.004 MB / 0.7046 GB, free: 3.805 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.01258/0.8496, allocations: 8.311 MB / 0.7127 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009637/0.8593, allocations: 5.697 MB / 0.7183 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.8594, allocations: 4 kB / 0.7183 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.8628, allocations: 2.152 MB / 0.7204 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.8652, allocations: 387.9 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.3178/1.183, allocations: 42.99 MB / 0.7628 GB, free: 205 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/1.188, allocations: 3.438 MB / 0.7661 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004962/1.193, allocations: 1.995 MB / 0.7681 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/1.196, allocations: 1.885 MB / 0.7699 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/1.196, allocations: 3.828 kB / 0.7699 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.299, allocations: 60.23 MB / 0.8287 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.66/24.95, allocations: 7.984 kB / 0.8287 GB, free: 155.8 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