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.001807/0.001807, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002156/0.002156, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.572/1.572, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2466/0.2466, allocations: 46.93 MB / 361.6 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 179] 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.00221/0.00221, allocations: 68.14 kB / 0.4969 GB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3994, allocations: 66.03 MB / 0.5614 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01642/0.4158, allocations: 13.59 MB / 0.5747 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009229/0.4251, allocations: 4.223 MB / 0.5788 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.4271, allocations: 79.69 kB / 0.5789 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003935/0.4311, allocations: 1.841 MB / 0.5807 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.436, allocations: 1.876 MB / 0.5825 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.4375, allocations: 0.5459 MB / 0.5831 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006079/0.4436, allocations: 3.898 MB / 0.5869 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003544/0.4471, allocations: 2.282 MB / 0.5891 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.4497, allocations: 1.394 MB / 0.5905 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.4533, allocations: 2.13 MB / 0.5925 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009123/0.4542, allocations: 292 kB / 0.5928 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.457, allocations: 1.037 MB / 0.5938 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002633/0.4596, allocations: 1.784 MB / 0.5956 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.463, allocations: 2.1 MB / 0.5976 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00981/0.4728, allocations: 6.913 MB / 0.6044 GB, free: 8.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4728, allocations: 0 / 0.6044 GB, free: 8.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4728, allocations: 0 / 0.6044 GB, free: 8.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002402/0.4731, allocations: 3.938 kB / 0.6044 GB, free: 8.312 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.01137/0.4844, allocations: 4.583 MB / 0.6088 GB, free: 3.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4845, allocations: 12.03 kB / 0.6089 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001615/0.4846, allocations: 109.7 kB / 0.609 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002005/0.4866, allocations: 0.7658 MB / 0.6097 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.4984, allocations: 3.149 MB / 0.6128 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006486/0.5048, allocations: 2.279 MB / 0.615 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.5051, allocations: 221.4 kB / 0.6152 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.5067, allocations: 291.8 kB / 0.6155 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02402/0.5307, allocations: 11.11 MB / 0.6264 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001977/0.5309, allocations: 31.7 kB / 0.6264 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/0.5323, allocations: 135.8 kB / 0.6265 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005194/0.5375, allocations: 2.62 MB / 0.6291 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/0.5615, allocations: 10.37 MB / 0.6392 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06597/0.6275, allocations: 36.4 MB / 0.6748 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00989/0.6374, allocations: 3.48 MB / 0.6782 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004117/0.6415, allocations: 2.226 MB / 0.6803 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.6426, allocations: 453.1 kB / 0.6808 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.023e-05/0.6427, allocations: 52.56 kB / 0.6808 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 1.046e-05/0.6427, allocations: 0 / 0.6808 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.05202/0.6947, allocations: 17.42 MB / 0.6978 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.6948, allocations: 73.41 kB / 0.6979 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/0.7, allocations: 2.751 MB / 0.7006 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004758/0.7005, allocations: 65.69 kB / 0.7006 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/0.7028, allocations: 2.882 MB / 0.7035 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001423/0.7043, allocations: 0.9648 MB / 0.7044 GB, free: 252 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002549/0.7068, allocations: 1.072 MB / 0.7054 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.707, allocations: 305.1 kB / 0.7057 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.7109, allocations: 2.302 MB / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/0.7179, allocations: 5.214 MB / 0.7131 GB, free: 5.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.7308, allocations: 8.257 MB / 0.7211 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/0.731, allocations: 28 kB / 0.7212 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01965/0.7506, allocations: 8.276 MB / 0.7292 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.7508, allocations: 48.19 kB / 0.7293 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/0.751, allocations: 104 kB / 0.7294 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.7544, allocations: 0.941 MB / 0.7303 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/0.7597, allocations: 1.217 MB / 0.7315 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4277/1.187, allocations: 5.034 MB / 0.7364 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.191, allocations: 297.8 kB / 0.7367 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008413/1.192, allocations: 310.5 kB / 0.737 GB, free: 151.3 MB / 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.003469/1.196, allocations: 2.154 MB / 0.7391 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/1.196, allocations: 289.2 kB / 0.7394 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007656/1.204, allocations: 5.127 MB / 0.7444 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/1.204, allocations: 42.03 kB / 0.7444 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.204, allocations: 3.719 kB / 0.7444 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/1.204, allocations: 12.12 kB / 0.7444 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.222, allocations: 11.84 MB / 0.756 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/1.222, allocations: 12 kB / 0.756 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.223, allocations: 399.3 kB / 0.7564 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/1.226, allocations: 0.7722 MB / 0.7571 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/1.226, allocations: 55.81 kB / 0.7572 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004607/1.231, allocations: 4.271 MB / 0.7614 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.231, allocations: 11.94 kB / 0.7614 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009607/1.24, allocations: 7.638 MB / 0.7688 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/1.241, allocations: 265.9 kB / 0.7691 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/1.242, allocations: 47.98 kB / 0.7691 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.243, allocations: 155.7 kB / 0.7693 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003931/1.244, allocations: 158.8 kB / 0.7694 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.244, allocations: 75.98 kB / 0.7695 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002391/1.246, allocations: 1.685 MB / 0.7712 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/1.246, allocations: 0 / 0.7712 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005397/1.252, allocations: 0.9685 MB / 0.7721 GB, free: 126.8 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.01077/1.262, allocations: 8.286 MB / 0.7802 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009444/1.272, allocations: 5.427 MB / 0.7855 GB, free: 113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/1.272, allocations: 0 / 0.7855 GB, free: 113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/1.275, allocations: 1.996 MB / 0.7874 GB, free: 111 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.279, allocations: 407.2 kB / 0.7878 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06726/1.346, allocations: 42.37 MB / 0.8292 GB, free: 63.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005169/1.352, allocations: 3.374 MB / 0.8325 GB, free: 60.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004202/1.356, allocations: 1.982 MB / 0.8344 GB, free: 58.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/1.359, allocations: 1.835 MB / 0.8362 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.359, allocations: 0 / 0.8362 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.468, allocations: 64.59 MB / 0.8993 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.2/26.67, allocations: 12.66 kB / 0.8993 GB, free: 8.34 MB / 0.5762 GB " [Timeout remaining time 633] (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: 30.9616669670213]