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.0009365/0.0009365, 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.001021/0.001021, allocations: 170.3 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.8833/0.8833, 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.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.2187/0.2187, allocations: 32.8 MB / 293.5 MB, free: 1.238 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 1.603e-06/1.603e-06, allocations: 0 / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.738e-05, allocations: 2.844 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1903/0.1904, allocations: 9.82 MB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.1946, allocations: 2.714 MB / 452.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008465/0.1954, allocations: 60.78 kB / 452.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.1968, allocations: 1.348 MB / 453.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1981, allocations: 1.293 MB / 454.8 MB, free: 38.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1983, allocations: 84.58 kB / 454.9 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1996, allocations: 2.774 MB / 457.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009971/0.2006, allocations: 1.684 MB / 459.3 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.2018, allocations: 1.552 MB / 460.9 MB, free: 35.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.2028, allocations: 1.498 MB / 462.4 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.203, allocations: 207.4 kB / 462.6 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005353/0.2035, allocations: 479.1 kB / 463.1 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.2041, allocations: 1.474 MB / 464.5 MB, free: 34.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.2046, allocations: 0.8629 MB / 465.4 MB, free: 34.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.2073, allocations: 5.319 MB / 470.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2073, allocations: 0 / 470.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2074, allocations: 0 / 470.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.031e-05/0.2074, allocations: 0 / 470.7 MB, free: 32.55 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.003524/0.211, allocations: 3.559 MB / 474.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.211, allocations: 9 kB / 474.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004401/0.2115, allocations: 0.666 MB / 474.9 MB, free: 29.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.2161, allocations: 2.996 MB / 477.9 MB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.218, allocations: 1.488 MB / 479.4 MB, free: 28.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.2181, allocations: 171.9 kB / 479.6 MB, free: 28.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.2183, allocations: 222.8 kB / 479.8 MB, free: 28.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.2284, allocations: 9.478 MB / 489.3 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.2285, allocations: 28.05 kB / 489.3 MB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.2287, allocations: 109.8 kB / 489.4 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.2312, allocations: 2.369 MB / 491.8 MB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.2436, allocations: 8.657 MB / 0.4887 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.2725, allocations: 27.75 MB / 0.5158 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.2755, allocations: 2.112 MB / 0.5179 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000815/0.2764, allocations: 0.9066 MB / 0.5188 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004897/0.2813, allocations: 3.928 MB / 0.5226 GB, free: 4.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2813, allocations: 43.22 kB / 0.5227 GB, free: 3.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 3.467e-06/0.2813, allocations: 0 / 0.5227 GB, free: 3.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.003647/0.2849, allocations: 2.866 MB / 0.5255 GB, free: 1.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.285, allocations: 60.06 kB / 0.5255 GB, free: 1.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.2875, allocations: 2.735 MB / 0.5282 GB, free: 14.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.2875, allocations: 41.7 kB / 0.5282 GB, free: 14.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.2886, allocations: 2.739 MB / 0.5309 GB, free: 11.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.2889, allocations: 0.5001 MB / 0.5314 GB, free: 10.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007032/0.2896, allocations: 0.8974 MB / 0.5323 GB, free: 10.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2897, allocations: 357.9 kB / 0.5326 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.291, allocations: 1.352 MB / 0.5339 GB, free: 8.297 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.2934, allocations: 4.12 MB / 0.5379 GB, free: 2.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.2977, allocations: 5.964 MB / 0.5438 GB, free: 11.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-05/0.2978, allocations: 31.94 kB / 0.5438 GB, free: 11.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005398/0.3032, allocations: 5.292 MB / 0.549 GB, free: 6.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.3032, allocations: 50.56 kB / 0.549 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.642e-05/0.3033, allocations: 100 kB / 0.5491 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.789e-05/0.3034, allocations: 132 kB / 0.5492 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.3051, allocations: 0.9708 MB / 0.5502 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.674e-05/0.3052, allocations: 195.2 kB / 0.5504 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.3073, allocations: 0.6127 MB / 0.551 GB, free: 4.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/0.3075, allocations: 284 kB / 0.5512 GB, free: 3.789 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.002291/0.3098, allocations: 1.893 MB / 0.5531 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.3101, allocations: 226.5 kB / 0.5533 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.3104, allocations: 271.3 kB / 0.5536 GB, free: 1.391 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.3104, allocations: 23.92 kB / 0.5536 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3104, allocations: 0 / 0.5536 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3104, allocations: 3.984 kB / 0.5536 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006388/0.3168, allocations: 5.489 MB / 0.5589 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3168, allocations: 7.938 kB / 0.559 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.3172, allocations: 135.8 kB / 0.5591 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.3172, allocations: 8 kB / 0.5591 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.3172, allocations: 24 kB / 0.5591 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.3172, allocations: 8 kB / 0.5591 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3173, allocations: 7.938 kB / 0.5591 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.3188, allocations: 1.794 MB / 0.5609 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.3193, allocations: 231 kB / 0.5611 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3194, allocations: 16 kB / 0.5611 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.3198, allocations: 43.95 kB / 0.5612 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.3198, allocations: 60.28 kB / 0.5612 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.3199, allocations: 43.98 kB / 0.5613 GB, free: 9.312 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001767/0.3217, allocations: 1.56 MB / 0.5628 GB, free: 7.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3217, allocations: 0 / 0.5628 GB, free: 7.738 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002374/0.3241, allocations: 0.9927 MB / 0.5638 GB, free: 6.742 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.001711/0.3258, allocations: 2.433 MB / 0.5661 GB, free: 4.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.3288, allocations: 3.022 MB / 0.5691 GB, free: 1.238 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3288, allocations: 0 / 0.5691 GB, free: 1.238 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.3294, allocations: 0.6828 MB / 0.5697 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.3303, allocations: 251.8 kB / 0.57 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/0.3611, allocations: 29.22 MB / 0.5985 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.3633, allocations: 2.419 MB / 0.6009 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002222/0.3655, allocations: 1.488 MB / 0.6023 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.3669, allocations: 1.508 MB / 0.6038 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of SimCode: time 2.003e-06/0.3669, allocations: 0 / 0.6038 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/0.5714, allocations: 38.17 MB / 0.6411 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.722, allocations: 9.531 kB / 0.6411 GB, free: 154.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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.mat. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.777301891706884]