Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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.001133/0.001133, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009055/0.0009055, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9086/0.9086, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.248/0.248, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.376e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.177/0.177, allocations: 9.824 MB / 452 MB, free: 38.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.1809, allocations: 2.705 MB / 454.7 MB, free: 37.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.1814, allocations: 60.16 kB / 454.7 MB, free: 37.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1828, allocations: 1.353 MB / 456.1 MB, free: 36.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.1841, allocations: 1.296 MB / 457.4 MB, free: 36.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1843, allocations: 80.56 kB / 457.5 MB, free: 36.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.1855, allocations: 2.774 MB / 460.2 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008924/0.1864, allocations: 1.683 MB / 461.9 MB, free: 34.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.1873, allocations: 1.547 MB / 463.5 MB, free: 33.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008641/0.1881, allocations: 1.503 MB / 465 MB, free: 33.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.1883, allocations: 208.7 kB / 465.2 MB, free: 33.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.1888, allocations: 475.7 kB / 465.6 MB, free: 33.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.1893, allocations: 1.478 MB / 467.1 MB, free: 32.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.1897, allocations: 0.8599 MB / 468 MB, free: 31.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.1921, allocations: 5.323 MB / 473.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1921, allocations: 4 kB / 473.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1921, allocations: 0 / 473.3 MB, free: 30.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.477e-05/0.1922, allocations: 3.469 kB / 473.3 MB, free: 30.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.002426/0.1946, allocations: 3.548 MB / 476.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1946, allocations: 12.69 kB / 476.9 MB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004115/0.195, allocations: 0.6714 MB / 477.5 MB, free: 27.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/0.1999, allocations: 2.99 MB / 480.5 MB, free: 27.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.2016, allocations: 1.49 MB / 482 MB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.2017, allocations: 176.8 kB / 482.2 MB, free: 26.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.202, allocations: 222 kB / 482.4 MB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007976/0.2099, allocations: 9.481 MB / 491.9 MB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.21, allocations: 18.78 kB / 491.9 MB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.2102, allocations: 108.6 kB / 492 MB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002354/0.2125, allocations: 2.369 MB / 494.4 MB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2232, allocations: 8.658 MB / 0.4913 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.2423, allocations: 27.76 MB / 0.5184 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.245, allocations: 2.104 MB / 0.5204 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/0.2459, allocations: 0.9106 MB / 0.5213 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004608/0.2505, allocations: 3.917 MB / 0.5251 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2505, allocations: 39.22 kB / 0.5252 GB, free: 52 kB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 2.485e-06/0.2505, allocations: 0 / 0.5252 GB, free: 52 kB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.00348/0.254, allocations: 2.866 MB / 0.528 GB, free: 13.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.254, allocations: 60.06 kB / 0.528 GB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.2562, allocations: 2.743 MB / 0.5307 GB, free: 10.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.2563, allocations: 37.7 kB / 0.5307 GB, free: 10.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.2572, allocations: 2.735 MB / 0.5334 GB, free: 7.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.2575, allocations: 0.504 MB / 0.5339 GB, free: 7.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/0.2582, allocations: 0.8935 MB / 0.5348 GB, free: 6.113 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2583, allocations: 353.9 kB / 0.5351 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.2596, allocations: 1.355 MB / 0.5364 GB, free: 4.398 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.262, allocations: 4.122 MB / 0.5405 GB, free: 14.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.2662, allocations: 5.96 MB / 0.5463 GB, free: 7.555 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.891e-05/0.2662, allocations: 31.94 kB / 0.5463 GB, free: 7.523 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004989/0.2712, allocations: 5.297 MB / 0.5515 GB, free: 2.223 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.2713, allocations: 48 kB / 0.5515 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-05/0.2713, allocations: 104 kB / 0.5516 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.192e-05/0.2714, allocations: 132 kB / 0.5518 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.2729, allocations: 0.9727 MB / 0.5527 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.179e-05/0.2729, allocations: 192 kB / 0.5529 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.2745, allocations: 0.6166 MB / 0.5535 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.2747, allocations: 276 kB / 0.5538 GB, free: 15.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00243/0.2772, allocations: 1.893 MB / 0.5556 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2773, allocations: 230.4 kB / 0.5558 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.2776, allocations: 271.3 kB / 0.5561 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.2776, allocations: 19.98 kB / 0.5561 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.2776, allocations: 0 / 0.5561 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2776, allocations: 3.984 kB / 0.5561 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/0.2826, allocations: 5.504 MB / 0.5615 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2826, allocations: 6.062 kB / 0.5615 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.2829, allocations: 131.8 kB / 0.5616 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2829, allocations: 8 kB / 0.5616 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.283, allocations: 23.98 kB / 0.5616 GB, free: 7.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.283, allocations: 8.562 kB / 0.5617 GB, free: 7.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001594/0.2831, allocations: 11.94 kB / 0.5617 GB, free: 7.668 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2844, allocations: 1.794 MB / 0.5634 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.2846, allocations: 222.2 kB / 0.5636 GB, free: 5.574 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2847, allocations: 16 kB / 0.5636 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.285, allocations: 39.95 kB / 0.5637 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.2851, allocations: 64.28 kB / 0.5637 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.2851, allocations: 43.97 kB / 0.5638 GB, free: 5.414 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.2863, allocations: 1.552 MB / 0.5653 GB, free: 3.848 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2863, allocations: 8 kB / 0.5653 GB, free: 3.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001923/0.2883, allocations: 0.9927 MB / 0.5663 GB, free: 2.844 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/0.29, allocations: 2.433 MB / 0.5687 GB, free: 340 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.2925, allocations: 3.023 MB / 0.5716 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2925, allocations: 4 kB / 0.5716 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.293, allocations: 0.684 MB / 0.5723 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.2937, allocations: 250.7 kB / 0.5725 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.3167, allocations: 29.22 MB / 0.6011 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/0.3187, allocations: 2.411 MB / 0.6034 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001836/0.3205, allocations: 1.484 MB / 0.6049 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.3216, allocations: 1.512 MB / 0.6063 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.3216, allocations: 0 / 0.6063 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.3657, allocations: 38.18 MB / 0.6436 GB, free: 272 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.396, allocations: 0 / 0.6436 GB, free: 272 kB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable torus1.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.687391945160925]