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.001313/0.001313, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001411/0.001411, allocations: 215.5 kB / 22.99 MB, free: 4.605 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.393/1.393, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2786/0.2786, allocations: 44.26 MB / 330.3 MB, free: 9.332 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.002647/0.002647, allocations: 72.47 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1216, allocations: 61.05 MB / 0.5162 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01605/0.1376, allocations: 12.15 MB / 0.528 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.1473, allocations: 4.02 MB / 0.5319 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.1496, allocations: 79.69 kB / 0.532 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004339/0.154, allocations: 1.806 MB / 0.5338 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.1592, allocations: 1.934 MB / 0.5357 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.1609, allocations: 0.5536 MB / 0.5362 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.236/0.3969, allocations: 3.942 MB / 0.5401 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004607/0.4016, allocations: 2.318 MB / 0.5423 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.405, allocations: 1.446 MB / 0.5437 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/0.409, allocations: 2.067 MB / 0.5458 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4105, allocations: 298.5 kB / 0.546 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.4135, allocations: 0.9065 MB / 0.5469 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.4166, allocations: 1.847 MB / 0.5487 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005087/0.4217, allocations: 1.574 MB / 0.5503 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.4342, allocations: 7.142 MB / 0.5572 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4342, allocations: 1.906 kB / 0.5572 GB, free: 7.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4342, allocations: 0 / 0.5572 GB, free: 7.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003081/0.4345, allocations: 1.969 kB / 0.5572 GB, free: 7.461 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.01382/0.4483, allocations: 4.708 MB / 0.5618 GB, free: 4.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4484, allocations: 12.72 kB / 0.5619 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002507/0.4509, allocations: 0.7806 MB / 0.5626 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4621, allocations: 3.155 MB / 0.5657 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.4689, allocations: 2.583 MB / 0.5682 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.4692, allocations: 222.7 kB / 0.5684 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/0.4707, allocations: 298.2 kB / 0.5687 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/0.4977, allocations: 11.32 MB / 0.5798 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002112/0.4979, allocations: 33.64 kB / 0.5798 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001504/0.4994, allocations: 135.2 kB / 0.5799 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00526/0.5047, allocations: 2.715 MB / 0.5826 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.5306, allocations: 10.44 MB / 0.5928 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09755/0.6282, allocations: 35.42 MB / 0.6274 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.643, allocations: 3.47 MB / 0.6308 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005843/0.6489, allocations: 2.217 MB / 0.6329 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.6505, allocations: 446.8 kB / 0.6333 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/0.6505, allocations: 60.5 kB / 0.6334 GB, free: 8.043 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 1.206e-05/0.6506, allocations: 0 / 0.6334 GB, free: 8.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.07327/0.7238, allocations: 17.58 MB / 0.6506 GB, free: 6.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7239, allocations: 73.41 kB / 0.6506 GB, free: 6.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008068/0.732, allocations: 2.987 MB / 0.6536 GB, free: 3.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007244/0.7327, allocations: 53.7 kB / 0.6536 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004085/0.7368, allocations: 2.975 MB / 0.6565 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002197/0.739, allocations: 0.9635 MB / 0.6575 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004281/0.7433, allocations: 1.087 MB / 0.6585 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7435, allocations: 305.1 kB / 0.6588 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006507/0.75, allocations: 2.326 MB / 0.6611 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/0.7608, allocations: 5.295 MB / 0.6662 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/0.7782, allocations: 8.376 MB / 0.6744 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/0.7783, allocations: 28 kB / 0.6745 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02621/0.8045, allocations: 8.376 MB / 0.6826 GB, free: 3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.8047, allocations: 48.19 kB / 0.6827 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/0.8049, allocations: 111.8 kB / 0.6828 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.8097, allocations: 0.938 MB / 0.6837 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007599/0.8173, allocations: 1.244 MB / 0.6849 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.8294, allocations: 5.005 MB / 0.6898 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007147/0.8365, allocations: 299.8 kB / 0.6901 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/0.8383, allocations: 312 kB / 0.6904 GB, free: 10.95 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.008014/0.8464, allocations: 2.189 MB / 0.6925 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.8476, allocations: 305.9 kB / 0.6928 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/0.8644, allocations: 5.12 MB / 0.6978 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001164/0.8645, allocations: 43.98 kB / 0.6979 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.8646, allocations: 4 kB / 0.6979 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/0.8646, allocations: 8.062 kB / 0.6979 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0316/0.8962, allocations: 11.5 MB / 0.7091 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.8963, allocations: 12 kB / 0.7091 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.8982, allocations: 403.4 kB / 0.7095 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.9007, allocations: 0.777 MB / 0.7103 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003595/0.9011, allocations: 55.98 kB / 0.7103 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.9075, allocations: 4.245 MB / 0.7145 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/0.9075, allocations: 15.94 kB / 0.7145 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.9217, allocations: 7.64 MB / 0.7219 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/0.9241, allocations: 0.6229 MB / 0.7225 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008951/0.925, allocations: 51.92 kB / 0.7226 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.9268, allocations: 143.8 kB / 0.7227 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/0.9273, allocations: 167.5 kB / 0.7229 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/0.9276, allocations: 72 kB / 0.723 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003873/0.9314, allocations: 1.738 MB / 0.7247 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9314, allocations: 0 / 0.7247 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006215/0.9377, allocations: 0.9983 MB / 0.7256 GB, free: 6.406 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.01519/0.9528, allocations: 8.289 MB / 0.7337 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.9634, allocations: 5.459 MB / 0.7391 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.553e-05/0.9634, allocations: 0 / 0.7391 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004147/0.9676, allocations: 2.003 MB / 0.741 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/0.9712, allocations: 393.4 kB / 0.7414 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3032/1.274, allocations: 43.1 MB / 0.7835 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00461/1.279, allocations: 2.898 MB / 0.7863 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004152/1.283, allocations: 2.002 MB / 0.7883 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/1.285, allocations: 1.88 MB / 0.7901 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/1.285, allocations: 0 / 0.7901 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09989/1.385, allocations: 60.61 MB / 0.8493 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.89, allocations: 15.84 kB / 0.8493 GB, free: 137.5 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 & /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: 20.23945022188127]