Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.0008469/0.0008469, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001328/0.001328, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8863/0.8863, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.24/0.24, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 3.938 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.993e-05, allocations: 2.281 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.168/0.168, allocations: 9.817 MB / 452 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.1719, allocations: 2.705 MB / 454.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007167/0.1726, allocations: 59.88 kB / 454.7 MB, free: 37.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1739, allocations: 1.352 MB / 456.1 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1751, allocations: 1.292 MB / 457.4 MB, free: 36.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1753, allocations: 84.12 kB / 457.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1766, allocations: 2.775 MB / 460.2 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/0.1776, allocations: 1.692 MB / 461.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.1785, allocations: 1.542 MB / 463.4 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008728/0.1793, allocations: 1.503 MB / 465 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.1795, allocations: 207.4 kB / 465.2 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.18, allocations: 485.2 kB / 465.6 MB, free: 32.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.1805, allocations: 1.467 MB / 467.1 MB, free: 32.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.181, allocations: 0.8663 MB / 468 MB, free: 31.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.1832, allocations: 5.324 MB / 473.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1832, allocations: 3.094 kB / 473.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1832, allocations: 0 / 473.3 MB, free: 29.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.1833, allocations: 0 / 473.3 MB, free: 29.96 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.002447/0.1857, allocations: 3.552 MB / 476.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1858, allocations: 9.219 kB / 476.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003851/0.1861, allocations: 0.6709 MB / 477.5 MB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.1909, allocations: 2.987 MB / 480.5 MB, free: 27.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1926, allocations: 1.489 MB / 482 MB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.612e-05/0.1927, allocations: 173.9 kB / 482.2 MB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.193, allocations: 221.9 kB / 482.4 MB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008535/0.2015, allocations: 9.476 MB / 491.9 MB, free: 22.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.2016, allocations: 18.69 kB / 491.9 MB, free: 22.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.2018, allocations: 112.8 kB / 492 MB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002752/0.2045, allocations: 2.373 MB / 494.4 MB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.2162, allocations: 8.664 MB / 0.4912 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.2366, allocations: 27.76 MB / 0.5183 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.2392, allocations: 2.104 MB / 0.5204 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007843/0.24, allocations: 0.8993 MB / 0.5213 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004566/0.2446, allocations: 3.93 MB / 0.5251 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2446, allocations: 44.22 kB / 0.5252 GB, free: 15.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.635e-06/0.2446, allocations: 0 / 0.5252 GB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.003663/0.2482, allocations: 2.87 MB / 0.528 GB, free: 13.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.2483, allocations: 60.06 kB / 0.528 GB, free: 12.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.2504, allocations: 2.735 MB / 0.5307 GB, free: 10.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2505, allocations: 37.7 kB / 0.5307 GB, free: 10.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.2517, allocations: 2.732 MB / 0.5334 GB, free: 7.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.2519, allocations: 0.5117 MB / 0.5339 GB, free: 6.906 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/0.2526, allocations: 0.8935 MB / 0.5348 GB, free: 6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2527, allocations: 353.9 kB / 0.5351 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.2539, allocations: 1.359 MB / 0.5364 GB, free: 4.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/0.2567, allocations: 4.118 MB / 0.5405 GB, free: 14.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004452/0.2611, allocations: 5.956 MB / 0.5463 GB, free: 7.445 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/0.2611, allocations: 35.88 kB / 0.5463 GB, free: 7.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005429/0.2666, allocations: 5.296 MB / 0.5515 GB, free: 2.105 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.2666, allocations: 48 kB / 0.5515 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.156e-05/0.2667, allocations: 96 kB / 0.5516 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.368e-05/0.2668, allocations: 132 kB / 0.5517 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.2683, allocations: 0.9804 MB / 0.5527 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.91e-05/0.2684, allocations: 191.8 kB / 0.5529 GB, free: 0.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.2701, allocations: 0.6127 MB / 0.5535 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.2703, allocations: 284 kB / 0.5537 GB, free: 15.77 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.002418/0.2727, allocations: 1.888 MB / 0.5556 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.2729, allocations: 226.5 kB / 0.5558 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.2732, allocations: 271.3 kB / 0.5561 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.2732, allocations: 16 kB / 0.5561 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.2732, allocations: 0 / 0.5561 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2732, allocations: 7.984 kB / 0.5561 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.2789, allocations: 5.5 MB / 0.5615 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.2789, allocations: 4.562 kB / 0.5615 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.2792, allocations: 131.8 kB / 0.5616 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2792, allocations: 12 kB / 0.5616 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.2792, allocations: 23.98 kB / 0.5616 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.2792, allocations: 8 kB / 0.5616 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.2792, allocations: 8.812 kB / 0.5616 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2805, allocations: 1.79 MB / 0.5634 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2807, allocations: 222.2 kB / 0.5636 GB, free: 5.469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2808, allocations: 23.97 kB / 0.5636 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.2811, allocations: 39.97 kB / 0.5637 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.2812, allocations: 64.28 kB / 0.5637 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.2813, allocations: 39.98 kB / 0.5638 GB, free: 5.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.2827, allocations: 1.556 MB / 0.5653 GB, free: 3.734 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2827, allocations: 0 / 0.5653 GB, free: 3.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002037/0.2848, allocations: 1.004 MB / 0.5663 GB, free: 2.727 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.001613/0.2864, allocations: 2.437 MB / 0.5686 GB, free: 220 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.2889, allocations: 3.01 MB / 0.5716 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2889, allocations: 2 kB / 0.5716 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.2896, allocations: 0.6874 MB / 0.5723 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.2903, allocations: 264.6 kB / 0.5725 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/0.3159, allocations: 29.21 MB / 0.601 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.3183, allocations: 2.415 MB / 0.6034 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002345/0.3207, allocations: 1.48 MB / 0.6048 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.3218, allocations: 1.512 MB / 0.6063 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.313e-06/0.3219, allocations: 0 / 0.6063 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/0.3664, allocations: 38.16 MB / 0.6436 GB, free: 92 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.794, allocations: 3.938 kB / 0.6436 GB, free: 88 kB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.051677854731679]