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.001485/0.001485, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001915/0.001915, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2376/0.2376, allocations: 46.96 MB / 360.9 MB, free: 4.023 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01504/0.3222, allocations: 11.79 MB / 0.5721 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008623/0.3309, allocations: 3.989 MB / 0.576 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.3323, allocations: 75.75 kB / 0.5761 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.3359, allocations: 1.779 MB / 0.5778 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.3401, allocations: 1.88 MB / 0.5797 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3413, allocations: 0.5497 MB / 0.5802 GB, free: 96 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004969/0.3463, allocations: 3.876 MB / 0.584 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.3492, allocations: 2.278 MB / 0.5862 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.3514, allocations: 1.401 MB / 0.5876 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.3545, allocations: 2.028 MB / 0.5895 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007556/0.3552, allocations: 292 kB / 0.5898 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3572, allocations: 0.8971 MB / 0.5907 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.3592, allocations: 1.78 MB / 0.5924 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.3613, allocations: 1.521 MB / 0.5939 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008373/0.3697, allocations: 6.94 MB / 0.6007 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3697, allocations: 0 / 0.6007 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3697, allocations: 11.88 kB / 0.6007 GB, free: 10.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.3699, allocations: 0 / 0.6007 GB, free: 10.95 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.0104/0.3803, allocations: 4.581 MB / 0.6052 GB, free: 6.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.3804, allocations: 16.03 kB / 0.6052 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/0.3817, allocations: 0.7541 MB / 0.6059 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.393, allocations: 3.157 MB / 0.609 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006355/0.3994, allocations: 2.302 MB / 0.6113 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.3996, allocations: 221.6 kB / 0.6115 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008969/0.4005, allocations: 287.7 kB / 0.6118 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/0.4199, allocations: 11.11 MB / 0.6226 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.425e-05/0.42, allocations: 27.77 kB / 0.6226 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.4204, allocations: 139.8 kB / 0.6228 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005036/0.4254, allocations: 2.62 MB / 0.6253 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.4479, allocations: 10.34 MB / 0.6354 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05891/0.5068, allocations: 34.63 MB / 0.6693 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/0.5162, allocations: 3.469 MB / 0.6726 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/0.5197, allocations: 2.226 MB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009775/0.5207, allocations: 445.1 kB / 0.6752 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.5208, allocations: 56.56 kB / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.851e-06/0.5208, allocations: 0 / 0.6753 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.03978/0.5606, allocations: 17.49 MB / 0.6924 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.5606, allocations: 77.34 kB / 0.6924 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.5645, allocations: 2.909 MB / 0.6953 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.5648, allocations: 61.7 kB / 0.6953 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002147/0.5669, allocations: 2.882 MB / 0.6982 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5679, allocations: 0.9648 MB / 0.6991 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.5694, allocations: 1.069 MB / 0.7001 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5695, allocations: 301.1 kB / 0.7004 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.573, allocations: 2.31 MB / 0.7027 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006111/0.5791, allocations: 5.206 MB / 0.7078 GB, free: 10.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.5902, allocations: 8.257 MB / 0.7158 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-05/0.5903, allocations: 32 kB / 0.7159 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01532/0.6057, allocations: 8.28 MB / 0.7239 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.6057, allocations: 52.06 kB / 0.724 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.6059, allocations: 108 kB / 0.7241 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.6087, allocations: 0.9367 MB / 0.725 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/0.6129, allocations: 1.217 MB / 0.7262 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.6209, allocations: 5.006 MB / 0.7311 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/0.6245, allocations: 295.8 kB / 0.7314 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009788/0.6255, allocations: 307.9 kB / 0.7317 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.2974/0.9229, allocations: 2.143 MB / 0.7338 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006858/0.9236, allocations: 293.7 kB / 0.734 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007444/0.931, allocations: 5.13 MB / 0.7391 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.9311, allocations: 47.09 kB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9311, allocations: 0 / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.9311, allocations: 7.781 kB / 0.7391 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.9466, allocations: 11.42 MB / 0.7503 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.9467, allocations: 8 kB / 0.7503 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.9482, allocations: 400.1 kB / 0.7506 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/0.9502, allocations: 0.7758 MB / 0.7514 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.9504, allocations: 46.34 kB / 0.7514 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004348/0.9547, allocations: 4.243 MB / 0.7556 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.9547, allocations: 19.88 kB / 0.7556 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008477/0.9632, allocations: 7.627 MB / 0.7631 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.9638, allocations: 268 kB / 0.7633 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.9642, allocations: 51.92 kB / 0.7634 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9653, allocations: 155.1 kB / 0.7635 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.9656, allocations: 160.8 kB / 0.7637 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.9658, allocations: 72 kB / 0.7637 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002169/0.9679, allocations: 1.689 MB / 0.7654 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9679, allocations: 0 / 0.7654 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004646/0.9726, allocations: 0.9642 MB / 0.7663 GB, free: 131.2 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.009484/0.9821, allocations: 8.288 MB / 0.7744 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.9893, allocations: 5.421 MB / 0.7797 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.9893, allocations: 8 kB / 0.7797 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.9915, allocations: 1.99 MB / 0.7817 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.9936, allocations: 404.6 kB / 0.782 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04722/1.041, allocations: 42.37 MB / 0.8234 GB, free: 68.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/1.044, allocations: 2.836 MB / 0.8262 GB, free: 65.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003516/1.047, allocations: 1.979 MB / 0.8281 GB, free: 63.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.049, allocations: 1.839 MB / 0.8299 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/1.049, allocations: 0 / 0.8299 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.152, allocations: 60.01 MB / 0.8885 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.55, allocations: 4 kB / 0.8885 GB, free: 2.281 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.269064703956246]