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.001319/0.001319, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001572/0.001572, allocations: 214 kB / 23 MB, free: 5.008 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.463/1.463, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2507/0.2507, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.002526/0.002526, allocations: 67.91 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1281, allocations: 61.05 MB / 0.5162 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01806/0.1462, allocations: 14.01 MB / 0.5298 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1567, allocations: 4.253 MB / 0.534 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.1592, allocations: 79.69 kB / 0.5341 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.1637, allocations: 1.864 MB / 0.5359 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.1693, allocations: 1.919 MB / 0.5378 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1711, allocations: 0.5731 MB / 0.5383 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2572/0.4283, allocations: 3.946 MB / 0.5422 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/0.4327, allocations: 2.33 MB / 0.5445 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.4359, allocations: 1.439 MB / 0.5459 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.4402, allocations: 2.178 MB / 0.548 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.4415, allocations: 296.7 kB / 0.5483 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.4449, allocations: 1.026 MB / 0.5493 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003438/0.4484, allocations: 1.852 MB / 0.5511 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00388/0.4522, allocations: 2.169 MB / 0.5532 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.4643, allocations: 7.113 MB / 0.5601 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4643, allocations: 1.156 kB / 0.5602 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4643, allocations: 0 / 0.5602 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002907/0.4646, allocations: 0 / 0.5602 GB, free: 5.574 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.01192/0.4765, allocations: 4.713 MB / 0.5648 GB, free: 2.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.4766, allocations: 10.69 kB / 0.5648 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00223/0.4788, allocations: 0.7809 MB / 0.5655 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.4901, allocations: 3.158 MB / 0.5686 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007211/0.4973, allocations: 2.562 MB / 0.5711 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.4975, allocations: 224.8 kB / 0.5713 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.4991, allocations: 298 kB / 0.5716 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.5234, allocations: 11.32 MB / 0.5827 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.5235, allocations: 30.98 kB / 0.5827 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007196/0.5242, allocations: 134.6 kB / 0.5828 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00512/0.5293, allocations: 2.716 MB / 0.5855 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.5536, allocations: 10.47 MB / 0.5957 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06869/0.6223, allocations: 37.2 MB / 0.632 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009941/0.6322, allocations: 3.483 MB / 0.6354 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/0.6362, allocations: 2.217 MB / 0.6376 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.6372, allocations: 458.2 kB / 0.638 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.6373, allocations: 56.5 kB / 0.6381 GB, free: 2.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.623e-06/0.6373, allocations: 0 / 0.6381 GB, free: 2.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.05001/0.6873, allocations: 17.51 MB / 0.6552 GB, free: 0.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.6874, allocations: 73.41 kB / 0.6553 GB, free: 472 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007331/0.6947, allocations: 2.81 MB / 0.658 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006756/0.6954, allocations: 53.7 kB / 0.6581 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003299/0.6987, allocations: 2.98 MB / 0.661 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/0.7006, allocations: 0.9576 MB / 0.6619 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/0.7048, allocations: 1.101 MB / 0.663 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.705, allocations: 305.1 kB / 0.6633 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/0.7102, allocations: 2.318 MB / 0.6655 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008429/0.7186, allocations: 5.302 MB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/0.7317, allocations: 8.382 MB / 0.6789 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.7318, allocations: 28 kB / 0.6789 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.01907/0.7509, allocations: 8.373 MB / 0.6871 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.751, allocations: 48 kB / 0.6871 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/0.7513, allocations: 104 kB / 0.6872 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.7543, allocations: 0.9391 MB / 0.6882 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/0.759, allocations: 1.252 MB / 0.6894 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/0.7672, allocations: 5.036 MB / 0.6943 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/0.7719, allocations: 295.8 kB / 0.6946 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/0.7733, allocations: 318.5 kB / 0.6949 GB, free: 4.879 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.006824/0.7802, allocations: 2.186 MB / 0.697 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.7813, allocations: 305.9 kB / 0.6973 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.7936, allocations: 5.122 MB / 0.7023 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.983e-05/0.7937, allocations: 43.98 kB / 0.7024 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/0.7937, allocations: 4.688 kB / 0.7024 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.692e-05/0.7938, allocations: 7.969 kB / 0.7024 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/0.8267, allocations: 11.93 MB / 0.714 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-05/0.8267, allocations: 15.66 kB / 0.714 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.8289, allocations: 396.6 kB / 0.7144 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/0.8317, allocations: 0.7731 MB / 0.7152 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006963/0.8324, allocations: 56.05 kB / 0.7152 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.8395, allocations: 4.28 MB / 0.7194 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-05/0.8395, allocations: 15.94 kB / 0.7194 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.8548, allocations: 7.646 MB / 0.7269 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/0.8575, allocations: 0.6229 MB / 0.7275 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/0.8586, allocations: 47.98 kB / 0.7275 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.8607, allocations: 147.8 kB / 0.7277 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/0.8614, allocations: 156.8 kB / 0.7278 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003316/0.8617, allocations: 74.17 kB / 0.7279 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004382/0.8661, allocations: 1.734 MB / 0.7296 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8661, allocations: 0 / 0.7296 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007104/0.8732, allocations: 1.002 MB / 0.7306 GB, free: 15.88 MB / 0.5762 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.01595/0.8891, allocations: 8.297 MB / 0.7387 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01095/0.9001, allocations: 5.459 MB / 0.744 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/0.9001, allocations: 0 / 0.744 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003928/0.904, allocations: 2 MB / 0.746 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.9074, allocations: 388.8 kB / 0.7463 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3662/1.274, allocations: 43.1 MB / 0.7884 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007487/1.281, allocations: 3.437 MB / 0.7918 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006162/1.287, allocations: 1.999 MB / 0.7937 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004263/1.292, allocations: 1.884 MB / 0.7956 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.803e-06/1.292, allocations: 0 / 0.7956 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.417, allocations: 65.26 MB / 0.8593 GB, free: 122.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.46/26.88, allocations: 0 / 0.8593 GB, free: 122.2 MB / 0.5919 GB " [Timeout remaining time 633] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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","/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: 30.285066533833742]