Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008672/0.0008672, 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.0008838/0.0008838, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8942/0.8942, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.868e-05/2.082e-05, allocations: 4.25 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1712/0.1712, allocations: 9.817 MB / 449.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.1744, allocations: 2.706 MB / 452.1 MB, free: 39.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.1751, allocations: 65.53 kB / 452.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.1766, allocations: 1.35 MB / 453.5 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.1777, allocations: 1.295 MB / 454.8 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1779, allocations: 84.52 kB / 454.9 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.1791, allocations: 2.774 MB / 457.7 MB, free: 37.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008541/0.18, allocations: 1.693 MB / 459.3 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008304/0.1808, allocations: 1.542 MB / 460.9 MB, free: 35.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008657/0.1817, allocations: 1.505 MB / 462.4 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.1818, allocations: 206.4 kB / 462.6 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.1823, allocations: 477.1 kB / 463.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.1829, allocations: 1.468 MB / 464.5 MB, free: 34.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.1833, allocations: 0.8681 MB / 465.4 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.1855, allocations: 5.322 MB / 470.7 MB, free: 32.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1855, allocations: 3.156 kB / 470.7 MB, free: 32.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1855, allocations: 0 / 470.7 MB, free: 32.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.1856, allocations: 0 / 470.7 MB, free: 32.56 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.002346/0.1879, allocations: 3.551 MB / 474.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1879, allocations: 9.375 kB / 474.3 MB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003831/0.1883, allocations: 0.6709 MB / 475 MB, free: 30 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.193, allocations: 2.992 MB / 477.9 MB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.1945, allocations: 1.492 MB / 479.4 MB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.1946, allocations: 172.4 kB / 479.6 MB, free: 28.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.1948, allocations: 221.6 kB / 479.8 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008356/0.2032, allocations: 9.484 MB / 489.3 MB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.2032, allocations: 18.47 kB / 489.3 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.2034, allocations: 108.2 kB / 489.4 MB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/0.2057, allocations: 2.375 MB / 491.8 MB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.2162, allocations: 8.656 MB / 0.4887 GB, free: 21.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.2348, allocations: 27.75 MB / 0.5158 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.2374, allocations: 2.104 MB / 0.5179 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000807/0.2382, allocations: 0.9164 MB / 0.5188 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004859/0.2431, allocations: 3.925 MB / 0.5226 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2431, allocations: 39.22 kB / 0.5227 GB, free: 3.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 2.885e-06/0.2431, allocations: 0 / 0.5227 GB, free: 3.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.003637/0.2468, allocations: 2.874 MB / 0.5255 GB, free: 1.062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2468, allocations: 60.06 kB / 0.5255 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.249, allocations: 2.739 MB / 0.5282 GB, free: 14.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.2491, allocations: 37.7 kB / 0.5282 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.2501, allocations: 2.732 MB / 0.5309 GB, free: 11.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.2503, allocations: 0.5079 MB / 0.5314 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006784/0.251, allocations: 0.8974 MB / 0.5323 GB, free: 9.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2511, allocations: 353.9 kB / 0.5326 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.2523, allocations: 1.358 MB / 0.5339 GB, free: 8.281 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.2546, allocations: 4.124 MB / 0.538 GB, free: 2.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/0.2584, allocations: 5.96 MB / 0.5438 GB, free: 11.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-05/0.2585, allocations: 31.94 kB / 0.5438 GB, free: 11.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004566/0.263, allocations: 5.288 MB / 0.549 GB, free: 6.109 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.2631, allocations: 48 kB / 0.549 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/0.2631, allocations: 96.84 kB / 0.5491 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-05/0.2632, allocations: 128 kB / 0.5492 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.2647, allocations: 0.9864 MB / 0.5502 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.952e-05/0.2648, allocations: 191.2 kB / 0.5504 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.2662, allocations: 0.6088 MB / 0.551 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.2664, allocations: 284 kB / 0.5512 GB, free: 3.777 MB / 458.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.001767/0.2682, allocations: 1.889 MB / 0.5531 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2683, allocations: 222.5 kB / 0.5533 GB, free: 1.656 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.2685, allocations: 275.3 kB / 0.5536 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.2686, allocations: 19.94 kB / 0.5536 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2686, allocations: 4 kB / 0.5536 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2686, allocations: 3.984 kB / 0.5536 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.2737, allocations: 5.497 MB / 0.559 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2737, allocations: 4 kB / 0.559 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.274, allocations: 135.8 kB / 0.5591 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.274, allocations: 8 kB / 0.5591 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.274, allocations: 24 kB / 0.5591 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.274, allocations: 11.98 kB / 0.5591 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.274, allocations: 7.938 kB / 0.5591 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.2754, allocations: 1.786 MB / 0.5609 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.2756, allocations: 231 kB / 0.5611 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2757, allocations: 19.98 kB / 0.5611 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.276, allocations: 39.95 kB / 0.5612 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.2761, allocations: 64.28 kB / 0.5612 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.2761, allocations: 39.98 kB / 0.5613 GB, free: 9.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001306/0.2774, allocations: 1.552 MB / 0.5628 GB, free: 7.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2774, allocations: 0 / 0.5628 GB, free: 7.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00252/0.28, allocations: 1 MB / 0.5638 GB, free: 6.734 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.002374/0.2823, allocations: 2.441 MB / 0.5661 GB, free: 4.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.2851, allocations: 3.013 MB / 0.5691 GB, free: 1.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2851, allocations: 4 kB / 0.5691 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.2856, allocations: 0.6798 MB / 0.5697 GB, free: 0.543 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000745/0.2864, allocations: 260.8 kB / 0.57 GB, free: 304 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/0.3117, allocations: 29.21 MB / 0.5985 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.3137, allocations: 2.419 MB / 0.6009 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001867/0.3155, allocations: 1.484 MB / 0.6023 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.3167, allocations: 1.512 MB / 0.6038 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/0.3167, allocations: 0 / 0.6038 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/0.513, allocations: 38.17 MB / 0.6411 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.713, allocations: 7.812 kB / 0.6411 GB, free: 154.3 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.82623802497983]