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.00086/0.00086, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008955/0.0008955, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9167/0.9167, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.2526/0.2526, 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.343e-06/1.343e-06, allocations: 0 / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.549e-05, allocations: 6.781 kB / 442.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1693/0.1694, allocations: 9.821 MB / 452 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1735, allocations: 2.706 MB / 454.7 MB, free: 37.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008273/0.1743, allocations: 59.88 kB / 454.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1757, allocations: 1.36 MB / 456.1 MB, free: 36.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1769, allocations: 1.287 MB / 457.4 MB, free: 36.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.1772, allocations: 82.14 kB / 457.5 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.1789, allocations: 2.773 MB / 460.2 MB, free: 34.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1802, allocations: 1.691 MB / 461.9 MB, free: 34.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.1816, allocations: 1.551 MB / 463.5 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.1827, allocations: 1.497 MB / 465 MB, free: 33.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1829, allocations: 208.9 kB / 465.2 MB, free: 33.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.1836, allocations: 478 kB / 465.6 MB, free: 33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006274/0.1842, allocations: 1.476 MB / 467.1 MB, free: 32.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.1847, allocations: 0.8647 MB / 468 MB, free: 31.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.1877, allocations: 5.317 MB / 473.3 MB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1877, allocations: 0 / 473.3 MB, free: 30.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1877, allocations: 0 / 473.3 MB, free: 30.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1878, allocations: 0 / 473.3 MB, free: 30.05 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.003234/0.191, allocations: 3.553 MB / 476.9 MB, free: 27.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.191, allocations: 8.875 kB / 476.9 MB, free: 27.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004472/0.1915, allocations: 0.672 MB / 477.5 MB, free: 27.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.1967, allocations: 2.991 MB / 480.5 MB, free: 27.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.1992, allocations: 1.495 MB / 482 MB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/0.1993, allocations: 171.9 kB / 482.2 MB, free: 26.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.1996, allocations: 223.3 kB / 482.4 MB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.2103, allocations: 9.475 MB / 491.9 MB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.2104, allocations: 22.72 kB / 491.9 MB, free: 22.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.2106, allocations: 112.8 kB / 492 MB, free: 22.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.2129, allocations: 2.367 MB / 494.4 MB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.2262, allocations: 8.668 MB / 0.4913 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/0.2521, allocations: 27.76 MB / 0.5184 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.2549, allocations: 2.1 MB / 0.5204 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/0.2557, allocations: 0.9028 MB / 0.5213 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00505/0.2607, allocations: 3.925 MB / 0.5251 GB, free: 120 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2608, allocations: 44.34 kB / 0.5252 GB, free: 68 kB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 3.997e-06/0.2608, allocations: 0 / 0.5252 GB, free: 68 kB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.003802/0.2646, allocations: 2.862 MB / 0.528 GB, free: 13.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2646, allocations: 64 kB / 0.528 GB, free: 13.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.2675, allocations: 2.739 MB / 0.5307 GB, free: 10.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.2675, allocations: 41.7 kB / 0.5307 GB, free: 10.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.2687, allocations: 2.735 MB / 0.5334 GB, free: 7.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.269, allocations: 0.5001 MB / 0.5339 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007832/0.2698, allocations: 0.8935 MB / 0.5348 GB, free: 6.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2699, allocations: 360.3 kB / 0.5351 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.2713, allocations: 1.359 MB / 0.5364 GB, free: 4.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.2737, allocations: 4.118 MB / 0.5405 GB, free: 14.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.2782, allocations: 5.956 MB / 0.5463 GB, free: 7.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-05/0.2782, allocations: 35.94 kB / 0.5463 GB, free: 7.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005819/0.2841, allocations: 5.292 MB / 0.5515 GB, free: 2.242 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.2841, allocations: 48.94 kB / 0.5515 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.74e-05/0.2842, allocations: 96 kB / 0.5516 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.565e-05/0.2843, allocations: 132 kB / 0.5518 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.2858, allocations: 0.9723 MB / 0.5527 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.969e-05/0.2859, allocations: 192 kB / 0.5529 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.2876, allocations: 0.6244 MB / 0.5535 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.2879, allocations: 272 kB / 0.5538 GB, free: 15.91 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.002482/0.2904, allocations: 1.895 MB / 0.5556 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.2906, allocations: 230.5 kB / 0.5558 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2909, allocations: 275.2 kB / 0.5561 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.2909, allocations: 12 kB / 0.5561 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2909, allocations: 4 kB / 0.5561 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2909, allocations: 11.92 kB / 0.5561 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/0.2971, allocations: 5.488 MB / 0.5615 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2971, allocations: 4.562 kB / 0.5615 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.2974, allocations: 139.8 kB / 0.5616 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.2974, allocations: 8 kB / 0.5616 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.2975, allocations: 27.98 kB / 0.5616 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.2975, allocations: 11.94 kB / 0.5617 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2975, allocations: 5.031 kB / 0.5617 GB, free: 7.688 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.299, allocations: 1.79 MB / 0.5634 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.2993, allocations: 222.2 kB / 0.5636 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.2995, allocations: 19.98 kB / 0.5636 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.2998, allocations: 43.97 kB / 0.5637 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.2999, allocations: 60.28 kB / 0.5637 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.3, allocations: 47.97 kB / 0.5638 GB, free: 5.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00168/0.3017, allocations: 1.552 MB / 0.5653 GB, free: 3.863 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3017, allocations: 0 / 0.5653 GB, free: 3.863 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002472/0.3041, allocations: 1 MB / 0.5663 GB, free: 2.859 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.001828/0.306, allocations: 2.433 MB / 0.5687 GB, free: 356 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.3089, allocations: 3.018 MB / 0.5716 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3089, allocations: 4 kB / 0.5716 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.3094, allocations: 0.6836 MB / 0.5723 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.3102, allocations: 247.3 kB / 0.5725 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.3388, allocations: 29.21 MB / 0.601 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.3413, allocations: 2.419 MB / 0.6034 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002111/0.3434, allocations: 1.482 MB / 0.6048 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.3448, allocations: 1.516 MB / 0.6063 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/0.3448, allocations: 3.938 kB / 0.6063 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.3946, allocations: 38.18 MB / 0.6436 GB, free: 292 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.851, allocations: 0 / 0.6436 GB, free: 292 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.180634117685258]