Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 121.8 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002325/0.002325, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 79.86 kB / 0.4913 GB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1326, allocations: 65.99 MB / 0.5557 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01725/0.1499, allocations: 13.57 MB / 0.5689 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009659/0.1595, allocations: 4.19 MB / 0.573 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.1616, allocations: 67.88 kB / 0.5731 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.1658, allocations: 1.841 MB / 0.5749 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005048/0.1709, allocations: 1.86 MB / 0.5767 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1725, allocations: 0.5459 MB / 0.5772 GB, free: 0 / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.1786, allocations: 3.895 MB / 0.5811 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/0.1826, allocations: 2.318 MB / 0.5833 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.1853, allocations: 1.382 MB / 0.5847 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.1888, allocations: 2.126 MB / 0.5867 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.1899, allocations: 288 kB / 0.587 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.1926, allocations: 1.037 MB / 0.588 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002704/0.1953, allocations: 1.788 MB / 0.5898 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.1994, allocations: 2.096 MB / 0.5918 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2901/0.4895, allocations: 6.908 MB / 0.5986 GB, free: 9.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4895, allocations: 1.281 kB / 0.5986 GB, free: 9.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4895, allocations: 0 / 0.5986 GB, free: 9.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003352/0.4899, allocations: 0.5156 kB / 0.5986 GB, free: 9.801 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.01629/0.5062, allocations: 4.664 MB / 0.6031 GB, free: 7.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5062, allocations: 9.344 kB / 0.6031 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003249/0.5095, allocations: 0.7686 MB / 0.6039 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.5221, allocations: 3.147 MB / 0.607 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007868/0.53, allocations: 2.349 MB / 0.6093 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.5303, allocations: 227.4 kB / 0.6095 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.5325, allocations: 288.2 kB / 0.6097 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/0.5572, allocations: 11.11 MB / 0.6206 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.5574, allocations: 32.16 kB / 0.6206 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.5587, allocations: 138.6 kB / 0.6208 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004535/0.5632, allocations: 2.615 MB / 0.6233 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.5848, allocations: 10.37 MB / 0.6334 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06867/0.6534, allocations: 36.56 MB / 0.6691 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.6635, allocations: 4.385 MB / 0.6734 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.6675, allocations: 2.22 MB / 0.6756 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.669, allocations: 1.323 MB / 0.6769 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/0.6691, allocations: 60.5 kB / 0.6769 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 7.163e-06/0.6691, allocations: 0 / 0.6769 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.04843/0.7175, allocations: 17.64 MB / 0.6942 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.7176, allocations: 77.41 kB / 0.6942 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/0.7225, allocations: 2.745 MB / 0.6969 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000633/0.7232, allocations: 57.7 kB / 0.697 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/0.7257, allocations: 2.889 MB / 0.6998 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/0.7274, allocations: 0.9627 MB / 0.7007 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002144/0.7296, allocations: 1.071 MB / 0.7018 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7297, allocations: 305.1 kB / 0.7021 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/0.7341, allocations: 2.306 MB / 0.7043 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008125/0.7422, allocations: 5.209 MB / 0.7094 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.7545, allocations: 8.257 MB / 0.7175 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.7546, allocations: 28 kB / 0.7175 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01975/0.7744, allocations: 8.288 MB / 0.7256 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.7746, allocations: 52.66 kB / 0.7256 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/0.7748, allocations: 104.3 kB / 0.7257 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/0.7781, allocations: 0.9425 MB / 0.7267 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004998/0.7831, allocations: 1.213 MB / 0.7278 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.7917, allocations: 5.143 MB / 0.7329 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/0.7962, allocations: 291.8 kB / 0.7332 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/0.7977, allocations: 318.5 kB / 0.7335 GB, free: 4.652 MB / 0.545 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.006684/0.8043, allocations: 2.14 MB / 0.7355 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/0.8054, allocations: 294 kB / 0.7358 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.8177, allocations: 5.116 MB / 0.7408 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.791e-05/0.8178, allocations: 44 kB / 0.7409 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.8178, allocations: 7.984 kB / 0.7409 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-05/0.8179, allocations: 7.969 kB / 0.7409 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02815/0.846, allocations: 11.87 MB / 0.7525 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.8461, allocations: 8 kB / 0.7525 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.8481, allocations: 399.4 kB / 0.7529 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.8506, allocations: 0.7763 MB / 0.7536 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00052/0.8512, allocations: 55.27 kB / 0.7537 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/0.8576, allocations: 4.382 MB / 0.7579 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/0.8577, allocations: 15.94 kB / 0.758 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.8717, allocations: 7.634 MB / 0.7654 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.8728, allocations: 335.2 kB / 0.7657 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008922/0.8737, allocations: 47.98 kB / 0.7658 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.8755, allocations: 154.5 kB / 0.7659 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/0.876, allocations: 152.8 kB / 0.7661 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/0.8762, allocations: 75.98 kB / 0.7662 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004055/0.8803, allocations: 1.689 MB / 0.7678 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8803, allocations: 0 / 0.7678 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006735/0.887, allocations: 0.9641 MB / 0.7687 GB, free: 20 kB / 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.01581/0.9028, allocations: 8.294 MB / 0.7768 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01107/0.9139, allocations: 5.415 MB / 0.7821 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.9139, allocations: 0 / 0.7821 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/0.9181, allocations: 2.003 MB / 0.7841 GB, free: 160 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003878/0.922, allocations: 397.2 kB / 0.7845 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09282/1.015, allocations: 42.24 MB / 0.8257 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007548/1.022, allocations: 3.375 MB / 0.829 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005565/1.028, allocations: 1.986 MB / 0.831 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004678/1.033, allocations: 1.83 MB / 0.8327 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.033, allocations: 0 / 0.8327 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3762/1.409, allocations: 60.02 MB / 0.8914 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.55/25.95, allocations: 7.938 kB / 0.8914 GB, free: 215.8 MB / 0.6544 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 29.61835303204134]