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.0008087/0.0008087, allocations: 83.52 kB / 20.02 MB, free: 4.508 MB / 18.57 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.0008045/0.0008045, allocations: 170 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.7923/0.7923, allocations: 158.6 MB / 185.1 MB, free: 2.996 MB / 170.7 MB " [Timeout remaining time 179] 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.1292/0.1292, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 407.1 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.406e-05, allocations: 10.08 kB / 407.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.008908/0.008932, allocations: 12.15 MB / 419.2 MB, free: 5.926 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.01486, allocations: 4.031 MB / 423.2 MB, free: 1.883 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.01602, allocations: 83.69 kB / 423.3 MB, free: 1.801 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.01793, allocations: 1.88 MB / 425.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.02036, allocations: 1.987 MB / 427.2 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.02114, allocations: 0.604 MB / 427.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.02414, allocations: 4.311 MB / 432.1 MB, free: 8.988 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.02589, allocations: 2.582 MB / 434.7 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.02754, allocations: 2.186 MB / 436.9 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.02924, allocations: 2.167 MB / 439 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.02954, allocations: 300 kB / 439.3 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009894/0.03053, allocations: 0.975 MB / 440.3 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000947/0.03148, allocations: 1.928 MB / 442.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.03234, allocations: 1.191 MB / 443.4 MB, free: 13.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004195/0.03653, allocations: 7.085 MB / 450.5 MB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.03653, allocations: 0 / 450.5 MB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03654, allocations: 0 / 450.5 MB, free: 6.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.618e-05/0.03661, allocations: 4 kB / 450.5 MB, free: 6.484 MB / 426.7 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.004667/0.04128, allocations: 4.725 MB / 455.2 MB, free: 1.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.04132, allocations: 8.031 kB / 455.3 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005975/0.04192, allocations: 0.7786 MB / 456 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0054/0.04732, allocations: 3.231 MB / 459.3 MB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.0498, allocations: 2.317 MB / 461.6 MB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.0499, allocations: 221.9 kB / 461.8 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.05026, allocations: 296.2 kB / 462.1 MB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1686/0.2188, allocations: 11.33 MB / 473.4 MB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.967e-05/0.2189, allocations: 24.5 kB / 473.4 MB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.2192, allocations: 136.1 kB / 473.6 MB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.2213, allocations: 2.695 MB / 476.3 MB, free: 92.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009495/0.2308, allocations: 10.45 MB / 486.7 MB, free: 89.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/0.2567, allocations: 35.67 MB / 0.5101 GB, free: 67.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.2618, allocations: 3.592 MB / 0.5137 GB, free: 66.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.2635, allocations: 2.221 MB / 0.5158 GB, free: 65.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.264, allocations: 452.2 kB / 0.5163 GB, free: 65.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.264, allocations: 52.44 kB / 0.5163 GB, free: 65.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 3.947e-06/0.264, allocations: 0 / 0.5163 GB, free: 65.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.02051/0.2845, allocations: 18.11 MB / 0.534 GB, free: 50.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2845, allocations: 77.34 kB / 0.5341 GB, free: 49.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.287, allocations: 3.181 MB / 0.5372 GB, free: 46.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.2871, allocations: 57.7 kB / 0.5372 GB, free: 46.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006529/0.2878, allocations: 2.949 MB / 0.5401 GB, free: 43.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003601/0.2881, allocations: 0.9421 MB / 0.541 GB, free: 42.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007444/0.2889, allocations: 1.076 MB / 0.5421 GB, free: 41.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.61e-05/0.2889, allocations: 305.1 kB / 0.5424 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.2906, allocations: 2.326 MB / 0.5446 GB, free: 39.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.293, allocations: 5.291 MB / 0.5498 GB, free: 32.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.2979, allocations: 8.376 MB / 0.558 GB, free: 22.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/0.298, allocations: 28 kB / 0.558 GB, free: 22.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.007099/0.3051, allocations: 8.381 MB / 0.5662 GB, free: 14.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3051, allocations: 52 kB / 0.5662 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.103e-05/0.3051, allocations: 100.9 kB / 0.5663 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.3064, allocations: 0.9492 MB / 0.5673 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.3083, allocations: 1.24 MB / 0.5685 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.3117, allocations: 4.999 MB / 0.5734 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.3137, allocations: 335.7 kB / 0.5737 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.3139, allocations: 312 kB / 0.574 GB, free: 6.102 MB / 442.7 MB 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.002078/0.316, allocations: 2.187 MB / 0.5761 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.3162, allocations: 301.9 kB / 0.5764 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.3207, allocations: 5.122 MB / 0.5814 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/0.3208, allocations: 44 kB / 0.5814 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3208, allocations: 7.094 kB / 0.5814 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3208, allocations: 15.95 kB / 0.5815 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.3325, allocations: 11.59 MB / 0.5928 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.3325, allocations: 8 kB / 0.5928 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008592/0.3333, allocations: 395.4 kB / 0.5932 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.3345, allocations: 0.7735 MB / 0.5939 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3346, allocations: 55.98 kB / 0.594 GB, free: 1.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.338, allocations: 4.265 MB / 0.5981 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.338, allocations: 15.94 kB / 0.5982 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/0.3446, allocations: 7.624 MB / 0.6056 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/0.3455, allocations: 0.6502 MB / 0.6062 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.3457, allocations: 44 kB / 0.6063 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.3465, allocations: 191.7 kB / 0.6065 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.3467, allocations: 156.9 kB / 0.6066 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.3468, allocations: 83.92 kB / 0.6067 GB, free: 4.078 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.3485, allocations: 1.882 MB / 0.6085 GB, free: 2.191 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3485, allocations: 0 / 0.6085 GB, free: 2.191 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002759/0.3513, allocations: 1.07 MB / 0.6096 GB, free: 1.121 MB / 474.7 MB 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.007003/0.3583, allocations: 8.313 MB / 0.6177 GB, free: 8.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.3637, allocations: 5.444 MB / 0.623 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.3637, allocations: 4.875 kB / 0.623 GB, free: 3.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.3654, allocations: 2.004 MB / 0.625 GB, free: 1.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.3668, allocations: 394 kB / 0.6253 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2014/0.5681, allocations: 43.56 MB / 0.6679 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/0.5701, allocations: 2.902 MB / 0.6707 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002212/0.5723, allocations: 2.005 MB / 0.6727 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.5735, allocations: 1.889 MB / 0.6745 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.5735, allocations: 0 / 0.6745 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06119/0.6347, allocations: 62.33 MB / 0.7354 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.477/10.11, allocations: 3.938 kB / 0.7354 GB, free: 111.1 MB / 0.5105 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/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: 12.126390564255416]