Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001388/0.001388, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001527/0.001527, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 46.96 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 59.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01696/0.3741, allocations: 11.71 MB / 0.5728 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3859, allocations: 3.974 MB / 0.5767 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.3891, allocations: 75.75 kB / 0.5767 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005171/0.3943, allocations: 1.783 MB / 0.5785 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.4006, allocations: 1.876 MB / 0.5803 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.4026, allocations: 0.5497 MB / 0.5809 GB, free: 192 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00706/0.4097, allocations: 3.898 MB / 0.5847 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.414, allocations: 2.278 MB / 0.5869 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.4171, allocations: 1.398 MB / 0.5882 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003835/0.421, allocations: 2.126 MB / 0.5903 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.4221, allocations: 292 kB / 0.5906 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.4253, allocations: 0.9127 MB / 0.5915 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003097/0.4284, allocations: 1.788 MB / 0.5932 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003813/0.4322, allocations: 1.517 MB / 0.5947 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.4426, allocations: 6.94 MB / 0.6015 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4426, allocations: 0 / 0.6015 GB, free: 10.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4427, allocations: 0 / 0.6015 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002455/0.4429, allocations: 0 / 0.6015 GB, free: 10.93 MB / 446.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.01456/0.4575, allocations: 4.585 MB / 0.606 GB, free: 6.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4575, allocations: 8.031 kB / 0.606 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000158/0.4577, allocations: 105.8 kB / 0.6061 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002057/0.4597, allocations: 0.7658 MB / 0.6068 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.4714, allocations: 3.149 MB / 0.6099 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.4772, allocations: 2.298 MB / 0.6122 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.4774, allocations: 225.3 kB / 0.6124 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.4788, allocations: 295.8 kB / 0.6126 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.5005, allocations: 11.11 MB / 0.6235 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.5006, allocations: 27.77 kB / 0.6235 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.5017, allocations: 131.8 kB / 0.6236 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004917/0.5066, allocations: 2.624 MB / 0.6262 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/0.5304, allocations: 10.37 MB / 0.6363 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06298/0.5934, allocations: 34.63 MB / 0.6702 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009796/0.6032, allocations: 3.473 MB / 0.6736 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/0.6073, allocations: 2.226 MB / 0.6757 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.6084, allocations: 437.3 kB / 0.6761 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.246e-05/0.6084, allocations: 60.48 kB / 0.6762 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 7.814e-06/0.6084, allocations: 0 / 0.6762 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04984/0.6583, allocations: 17.49 MB / 0.6933 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.6584, allocations: 77.39 kB / 0.6934 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005011/0.6634, allocations: 2.743 MB / 0.696 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.6638, allocations: 69.69 kB / 0.6961 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.6662, allocations: 2.886 MB / 0.6989 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.6675, allocations: 0.9532 MB / 0.6999 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002484/0.67, allocations: 1.072 MB / 0.7009 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6702, allocations: 305.1 kB / 0.7012 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004086/0.6742, allocations: 2.306 MB / 0.7034 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007354/0.6816, allocations: 5.214 MB / 0.7085 GB, free: 10.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/0.6943, allocations: 8.253 MB / 0.7166 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/0.6944, allocations: 28 kB / 0.7166 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01819/0.7126, allocations: 8.279 MB / 0.7247 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.7128, allocations: 51.94 kB / 0.7248 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002189/0.713, allocations: 104 kB / 0.7249 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.7163, allocations: 0.9379 MB / 0.7258 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.7208, allocations: 1.22 MB / 0.727 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008439/0.7293, allocations: 5 MB / 0.7318 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/0.7329, allocations: 291.8 kB / 0.7321 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.7339, allocations: 312 kB / 0.7324 GB, free: 272 kB / 0.5606 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.2982/1.032, allocations: 2.151 MB / 0.7345 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000978/1.033, allocations: 293.7 kB / 0.7348 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008805/1.042, allocations: 5.118 MB / 0.7398 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.836e-05/1.042, allocations: 48.77 kB / 0.7398 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.042, allocations: 3.906 kB / 0.7399 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/1.042, allocations: 11.53 kB / 0.7399 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/1.062, allocations: 11.41 MB / 0.751 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.062, allocations: 12 kB / 0.751 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/1.064, allocations: 401.3 kB / 0.7514 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/1.066, allocations: 0.7698 MB / 0.7522 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000376/1.067, allocations: 52 kB / 0.7522 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/1.071, allocations: 4.247 MB / 0.7564 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.071, allocations: 17.02 kB / 0.7564 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.082, allocations: 7.625 MB / 0.7638 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009905/1.083, allocations: 268.3 kB / 0.7641 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.084, allocations: 55.92 kB / 0.7641 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.086, allocations: 147.6 kB / 0.7643 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006404/1.087, allocations: 156.8 kB / 0.7644 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/1.087, allocations: 75.98 kB / 0.7645 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002974/1.09, allocations: 1.685 MB / 0.7661 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/1.09, allocations: 3.969 kB / 0.7661 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005466/1.096, allocations: 0.9652 MB / 0.7671 GB, free: 131.5 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.01161/1.107, allocations: 8.287 MB / 0.7752 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007532/1.115, allocations: 5.423 MB / 0.7805 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.115, allocations: 0 / 0.7805 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.118, allocations: 2.009 MB / 0.7824 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.122, allocations: 388.4 kB / 0.7828 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0664/1.188, allocations: 42.37 MB / 0.8242 GB, free: 68.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004851/1.193, allocations: 2.824 MB / 0.8269 GB, free: 65.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004288/1.197, allocations: 1.99 MB / 0.8289 GB, free: 63.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/1.2, allocations: 1.838 MB / 0.8307 GB, free: 61.84 MB / 0.5606 GB Notification: Performance of SimCode: time 2.024e-06/1.2, allocations: 0 / 0.8307 GB, free: 61.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/1.306, allocations: 62.18 MB / 0.8914 GB, free: 304 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.11/27.41, allocations: 11.86 kB / 0.8914 GB, free: 292 kB / 0.5606 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 31.392458020942286]