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.001869/0.001869, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002243/0.002243, allocations: 214 kB / 23.74 MB, free: 4.66 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.569/1.569, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2596/0.2596, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 179] 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.002392/0.002392, allocations: 91.84 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4564, allocations: 66.08 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01724/0.4737, allocations: 13.59 MB / 0.574 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4848, allocations: 4.225 MB / 0.5781 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.4876, allocations: 75.75 kB / 0.5782 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.492, allocations: 1.841 MB / 0.58 GB, free: 464 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.4985, allocations: 1.864 MB / 0.5818 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.5003, allocations: 0.5575 MB / 0.5824 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006893/0.5072, allocations: 3.894 MB / 0.5862 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.511, allocations: 2.286 MB / 0.5884 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.5141, allocations: 1.39 MB / 0.5898 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.5181, allocations: 2.13 MB / 0.5918 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000993/0.5191, allocations: 296 kB / 0.5921 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.5217, allocations: 1.026 MB / 0.5931 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002222/0.5239, allocations: 1.792 MB / 0.5949 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.5271, allocations: 2.096 MB / 0.5969 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.5375, allocations: 6.92 MB / 0.6037 GB, free: 8.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.5376, allocations: 4 kB / 0.6037 GB, free: 8.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5376, allocations: 0 / 0.6037 GB, free: 8.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002655/0.5378, allocations: 0 / 0.6037 GB, free: 8.074 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.0138/0.5516, allocations: 4.573 MB / 0.6082 GB, free: 3.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/0.5517, allocations: 16.02 kB / 0.6082 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002449/0.5541, allocations: 0.7658 MB / 0.6089 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.5658, allocations: 3.149 MB / 0.612 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007519/0.5733, allocations: 2.291 MB / 0.6142 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.5735, allocations: 221.5 kB / 0.6144 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.5748, allocations: 283.8 kB / 0.6147 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.5962, allocations: 11.11 MB / 0.6256 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.5963, allocations: 27.77 kB / 0.6256 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.5968, allocations: 131.8 kB / 0.6257 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004789/0.6016, allocations: 2.62 MB / 0.6283 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.6244, allocations: 10.38 MB / 0.6384 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06602/0.6905, allocations: 36.4 MB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009531/0.7, allocations: 3.484 MB / 0.6774 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.7037, allocations: 2.22 MB / 0.6795 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.7047, allocations: 461.2 kB / 0.68 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/0.7048, allocations: 48.56 kB / 0.68 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.342e-06/0.7048, allocations: 4 kB / 0.68 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04569/0.7505, allocations: 17.42 MB / 0.697 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.7505, allocations: 73.41 kB / 0.6971 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0049/0.7554, allocations: 2.755 MB / 0.6998 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.7561, allocations: 57.7 kB / 0.6999 GB, free: 4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/0.759, allocations: 2.886 MB / 0.7027 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/0.7607, allocations: 0.9532 MB / 0.7036 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/0.7628, allocations: 1.076 MB / 0.7047 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.763, allocations: 301.1 kB / 0.7049 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/0.7671, allocations: 2.31 MB / 0.7072 GB, free: 12.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00765/0.7747, allocations: 5.217 MB / 0.7123 GB, free: 5.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/0.7876, allocations: 8.249 MB / 0.7203 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/0.7877, allocations: 32 kB / 0.7204 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01887/0.8066, allocations: 8.275 MB / 0.7285 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.8067, allocations: 48 kB / 0.7285 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/0.8069, allocations: 104.2 kB / 0.7286 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/0.81, allocations: 0.9478 MB / 0.7295 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004807/0.8148, allocations: 1.22 MB / 0.7307 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3714/1.186, allocations: 5.022 MB / 0.7356 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/1.191, allocations: 308.2 kB / 0.7359 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.192, allocations: 303.3 kB / 0.7362 GB, free: 149.6 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.004185/1.196, allocations: 2.145 MB / 0.7383 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/1.197, allocations: 290.9 kB / 0.7386 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008614/1.205, allocations: 5.133 MB / 0.7436 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.171e-05/1.205, allocations: 38.41 kB / 0.7436 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.205, allocations: 3.75 kB / 0.7436 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/1.205, allocations: 12.31 kB / 0.7436 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.227, allocations: 11.83 MB / 0.7552 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/1.227, allocations: 10.25 kB / 0.7552 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.228, allocations: 400.2 kB / 0.7556 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/1.231, allocations: 0.7748 MB / 0.7563 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/1.231, allocations: 55.34 kB / 0.7564 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/1.236, allocations: 4.277 MB / 0.7606 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.236, allocations: 19.06 kB / 0.7606 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.247, allocations: 7.637 MB / 0.7681 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/1.248, allocations: 265 kB / 0.7683 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009438/1.248, allocations: 51.98 kB / 0.7684 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.25, allocations: 151.7 kB / 0.7685 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/1.251, allocations: 156.5 kB / 0.7687 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.251, allocations: 75.27 kB / 0.7687 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002474/1.254, allocations: 1.688 MB / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.254, allocations: 4 kB / 0.7704 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005238/1.259, allocations: 0.9629 MB / 0.7713 GB, free: 126.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.01076/1.27, allocations: 8.29 MB / 0.7794 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008229/1.278, allocations: 5.417 MB / 0.7847 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/1.278, allocations: 4 kB / 0.7847 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002932/1.281, allocations: 2 MB / 0.7867 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.284, allocations: 405.3 kB / 0.787 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07159/1.355, allocations: 42.37 MB / 0.8284 GB, free: 63.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006683/1.362, allocations: 3.365 MB / 0.8317 GB, free: 59.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004514/1.367, allocations: 1.986 MB / 0.8336 GB, free: 57.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/1.37, allocations: 1.839 MB / 0.8354 GB, free: 56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.405e-06/1.37, allocations: 0 / 0.8354 GB, free: 56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.494, allocations: 64.55 MB / 0.8985 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.77/26.27, allocations: 4.453 kB / 0.8985 GB, free: 7.691 MB / 0.5762 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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_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.74339925199456]