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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 217.6 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3223/0.3223, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003142/0.003142, allocations: 82.64 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1486, allocations: 61.05 MB / 0.5162 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01575/0.1644, allocations: 12.14 MB / 0.528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008815/0.1732, allocations: 4.023 MB / 0.5319 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.1753, allocations: 79.69 kB / 0.532 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.1796, allocations: 1.798 MB / 0.5338 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.1847, allocations: 1.926 MB / 0.5357 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1864, allocations: 0.5537 MB / 0.5362 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2218/0.4082, allocations: 3.951 MB / 0.5401 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.4122, allocations: 2.319 MB / 0.5423 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.4152, allocations: 1.447 MB / 0.5437 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.4195, allocations: 2.066 MB / 0.5458 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.4211, allocations: 296.5 kB / 0.546 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.4243, allocations: 0.9054 MB / 0.5469 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003112/0.4274, allocations: 1.848 MB / 0.5487 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004438/0.4318, allocations: 1.574 MB / 0.5503 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.4442, allocations: 7.141 MB / 0.5572 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.4442, allocations: 0 / 0.5572 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4442, allocations: 3.125 kB / 0.5572 GB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003115/0.4445, allocations: 0.5312 kB / 0.5572 GB, free: 7.434 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.01457/0.4591, allocations: 4.715 MB / 0.5618 GB, free: 4.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4591, allocations: 9.562 kB / 0.5619 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003015/0.4621, allocations: 0.7846 MB / 0.5626 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.4735, allocations: 3.157 MB / 0.5657 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.4806, allocations: 2.576 MB / 0.5682 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.4809, allocations: 226.3 kB / 0.5684 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.4825, allocations: 298.2 kB / 0.5687 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/0.5059, allocations: 11.32 MB / 0.5798 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.5061, allocations: 32.95 kB / 0.5798 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.5074, allocations: 132.8 kB / 0.5799 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/0.5125, allocations: 2.717 MB / 0.5826 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/0.536, allocations: 10.45 MB / 0.5928 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06266/0.5987, allocations: 35.41 MB / 0.6274 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009348/0.608, allocations: 3.469 MB / 0.6308 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.6118, allocations: 2.223 MB / 0.6329 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/0.6127, allocations: 450.8 kB / 0.6334 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.6128, allocations: 60.5 kB / 0.6334 GB, free: 7.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.642e-06/0.6128, allocations: 3.656 kB / 0.6334 GB, free: 7.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04786/0.6607, allocations: 17.56 MB / 0.6506 GB, free: 6.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.6607, allocations: 73.41 kB / 0.6506 GB, free: 6.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/0.6663, allocations: 2.984 MB / 0.6536 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004327/0.6667, allocations: 57.7 kB / 0.6536 GB, free: 3.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.6692, allocations: 2.968 MB / 0.6565 GB, free: 348 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.6707, allocations: 0.9708 MB / 0.6575 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/0.6736, allocations: 1.088 MB / 0.6585 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6737, allocations: 301.1 kB / 0.6588 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004196/0.6779, allocations: 2.326 MB / 0.6611 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007708/0.6856, allocations: 5.302 MB / 0.6663 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/0.7048, allocations: 8.375 MB / 0.6744 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.7049, allocations: 28 kB / 0.6745 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02762/0.7325, allocations: 8.376 MB / 0.6826 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.7327, allocations: 48 kB / 0.6827 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002602/0.733, allocations: 104 kB / 0.6828 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.7379, allocations: 0.9426 MB / 0.6837 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00776/0.7457, allocations: 1.244 MB / 0.6849 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.7585, allocations: 5.002 MB / 0.6898 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006444/0.7649, allocations: 299.8 kB / 0.6901 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/0.7664, allocations: 318.5 kB / 0.6904 GB, free: 10.89 MB / 0.5294 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.007624/0.774, allocations: 2.19 MB / 0.6925 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.7752, allocations: 301.9 kB / 0.6928 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/0.7926, allocations: 5.121 MB / 0.6978 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/0.7928, allocations: 51.98 kB / 0.6979 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.7928, allocations: 4 kB / 0.6979 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.076e-05/0.7928, allocations: 7.969 kB / 0.6979 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04122/0.834, allocations: 11.5 MB / 0.7091 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.813e-05/0.8341, allocations: 8 kB / 0.7091 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002947/0.8371, allocations: 399.4 kB / 0.7095 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004019/0.8411, allocations: 0.7737 MB / 0.7103 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004485/0.8415, allocations: 47.98 kB / 0.7103 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00629/0.8478, allocations: 4.251 MB / 0.7145 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.8478, allocations: 15.94 kB / 0.7145 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.8607, allocations: 7.641 MB / 0.7219 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/0.8629, allocations: 0.6229 MB / 0.7225 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006112/0.8635, allocations: 47.98 kB / 0.7226 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.865, allocations: 152.9 kB / 0.7227 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/0.8654, allocations: 160.8 kB / 0.7229 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.8656, allocations: 71.98 kB / 0.723 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0031/0.8687, allocations: 1.73 MB / 0.7246 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8687, allocations: 0 / 0.7246 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004858/0.8736, allocations: 0.9988 MB / 0.7256 GB, free: 6.355 MB / 0.5606 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.0131/0.8867, allocations: 8.307 MB / 0.7337 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01032/0.897, allocations: 5.454 MB / 0.7391 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.897, allocations: 4.375 kB / 0.7391 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003835/0.9008, allocations: 2.004 MB / 0.741 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.9035, allocations: 392.7 kB / 0.7414 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2849/1.188, allocations: 43.11 MB / 0.7835 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00476/1.193, allocations: 2.897 MB / 0.7863 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004107/1.197, allocations: 1.999 MB / 0.7883 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/1.2, allocations: 1.878 MB / 0.7901 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.2, allocations: 0 / 0.7901 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0986/1.298, allocations: 60.6 MB / 0.8493 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.2, allocations: 15.91 kB / 0.8493 GB, free: 137.4 MB / 0.5919 GB " [Timeout remaining time 643] (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.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.733854330144823]