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.0007989/0.0007989, 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.0008623/0.0008623, 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.8834/0.8834, allocations: 177 MB / 204.1 MB, free: 5.742 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.2383/0.2383, allocations: 34.23 MB / 294.8 MB, free: 0.6719 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.663e-06/1.663e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.234e-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.1799/0.1799, allocations: 9.821 MB / 452 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.1841, allocations: 2.711 MB / 454.7 MB, free: 37.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.1853, allocations: 60.88 kB / 454.7 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.1869, allocations: 1.349 MB / 456.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1885, allocations: 1.296 MB / 457.4 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1887, allocations: 78.58 kB / 457.4 MB, free: 35.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.1904, allocations: 2.771 MB / 460.2 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1916, allocations: 1.693 MB / 461.9 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.1929, allocations: 1.544 MB / 463.5 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.1941, allocations: 1.502 MB / 465 MB, free: 32.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.1943, allocations: 209.5 kB / 465.2 MB, free: 32.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006657/0.195, allocations: 478.3 kB / 465.6 MB, free: 32.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.1956, allocations: 1.476 MB / 467.1 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.1962, allocations: 0.8612 MB / 468 MB, free: 31.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.1991, allocations: 5.327 MB / 473.3 MB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1991, allocations: 0 / 473.3 MB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1991, allocations: 0 / 473.3 MB, free: 29.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.773e-05/0.1992, allocations: 2.969 kB / 473.3 MB, free: 29.9 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.003822/0.203, allocations: 3.552 MB / 476.9 MB, free: 27.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.203, allocations: 9.031 kB / 476.9 MB, free: 27.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004336/0.2035, allocations: 0.6713 MB / 477.5 MB, free: 27.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005318/0.2088, allocations: 2.986 MB / 480.5 MB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.2111, allocations: 1.489 MB / 482 MB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/0.2112, allocations: 173 kB / 482.2 MB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.2115, allocations: 221.7 kB / 482.4 MB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.2225, allocations: 9.476 MB / 491.9 MB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.2226, allocations: 27.72 kB / 491.9 MB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.2228, allocations: 105.1 kB / 492 MB, free: 21.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00259/0.2254, allocations: 2.374 MB / 494.4 MB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.2384, allocations: 8.663 MB / 0.4912 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.264, allocations: 27.76 MB / 0.5183 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.2672, allocations: 2.108 MB / 0.5204 GB, free: 4.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008975/0.2681, allocations: 0.8954 MB / 0.5213 GB, free: 3.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005401/0.2735, allocations: 3.932 MB / 0.5251 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2736, allocations: 39.22 kB / 0.5252 GB, free: 15.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.13e-06/0.2736, allocations: 4 kB / 0.5252 GB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.00407/0.2776, allocations: 2.874 MB / 0.528 GB, free: 13.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.2777, allocations: 60.06 kB / 0.528 GB, free: 12.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.2805, allocations: 2.738 MB / 0.5307 GB, free: 10.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.2805, allocations: 37.7 kB / 0.5307 GB, free: 10.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.2817, allocations: 2.732 MB / 0.5334 GB, free: 7.406 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.2821, allocations: 0.504 MB / 0.5339 GB, free: 6.898 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/0.2829, allocations: 0.8935 MB / 0.5348 GB, free: 5.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.283, allocations: 357.9 kB / 0.5351 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.2843, allocations: 1.355 MB / 0.5364 GB, free: 4.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/0.2867, allocations: 4.118 MB / 0.5405 GB, free: 14.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004446/0.2912, allocations: 5.968 MB / 0.5463 GB, free: 7.426 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.897e-05/0.2912, allocations: 31.94 kB / 0.5463 GB, free: 7.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005604/0.2968, allocations: 5.296 MB / 0.5515 GB, free: 2.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.2969, allocations: 44 kB / 0.5515 GB, free: 2.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.931e-05/0.297, allocations: 100 kB / 0.5516 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.615e-05/0.2971, allocations: 128 kB / 0.5517 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.2987, allocations: 0.9747 MB / 0.5527 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.399e-05/0.2988, allocations: 195.2 kB / 0.5529 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.3007, allocations: 0.617 MB / 0.5535 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.301, allocations: 280 kB / 0.5538 GB, free: 15.76 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.002357/0.3033, allocations: 1.895 MB / 0.5556 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.3036, allocations: 226.4 kB / 0.5558 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.3038, allocations: 267.3 kB / 0.5561 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.3039, allocations: 16 kB / 0.5561 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.3039, allocations: 0 / 0.5561 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3039, allocations: 7.922 kB / 0.5561 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.3096, allocations: 5.492 MB / 0.5615 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3096, allocations: 7.938 kB / 0.5615 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.3099, allocations: 140.4 kB / 0.5616 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.3099, allocations: 12 kB / 0.5616 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.3099, allocations: 19.98 kB / 0.5616 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3099, allocations: 8 kB / 0.5616 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.31, allocations: 12.81 kB / 0.5617 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3114, allocations: 1.79 MB / 0.5634 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.3116, allocations: 214.2 kB / 0.5636 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.3118, allocations: 31.97 kB / 0.5636 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3121, allocations: 31.97 kB / 0.5637 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.3122, allocations: 68.28 kB / 0.5637 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.3122, allocations: 43.98 kB / 0.5638 GB, free: 5.285 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.3137, allocations: 1.552 MB / 0.5653 GB, free: 3.719 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3137, allocations: 3.938 kB / 0.5653 GB, free: 3.715 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002373/0.316, allocations: 1 MB / 0.5663 GB, free: 2.711 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.001736/0.3178, allocations: 2.441 MB / 0.5687 GB, free: 200 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.3208, allocations: 3.01 MB / 0.5716 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3208, allocations: 0 / 0.5716 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.3213, allocations: 0.6849 MB / 0.5723 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/0.3222, allocations: 256.2 kB / 0.5725 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.35, allocations: 29.21 MB / 0.601 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.3521, allocations: 2.419 MB / 0.6034 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002182/0.3543, allocations: 1.48 MB / 0.6048 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.3555, allocations: 1.516 MB / 0.6063 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/0.3555, allocations: 0 / 0.6063 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.411, allocations: 38.16 MB / 0.6436 GB, free: 68 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.772, allocations: 7.938 kB / 0.6436 GB, free: 60 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.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_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.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.002102565020323]