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.001739/0.001739, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002014/0.002014, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2279/0.2279, allocations: 46.94 MB / 360.8 MB, free: 3.941 MB / 286.1 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 0.002398/0.002398, allocations: 75.88 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.316, allocations: 66.09 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01171/0.3277, allocations: 9.798 MB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.3333, allocations: 2.708 MB / 0.5729 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.3346, allocations: 59.81 kB / 0.573 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.3374, allocations: 1.315 MB / 0.5742 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.3402, allocations: 1.249 MB / 0.5755 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3405, allocations: 79.84 kB / 0.5755 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.3439, allocations: 2.708 MB / 0.5782 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.3461, allocations: 1.679 MB / 0.5798 GB, free: 352 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.3482, allocations: 1.062 MB / 0.5809 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.3511, allocations: 1.533 MB / 0.5824 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000679/0.3518, allocations: 208 kB / 0.5826 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.353, allocations: 419.4 kB / 0.583 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.3546, allocations: 1.433 MB / 0.5844 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.3565, allocations: 1.191 MB / 0.5855 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006844/0.3634, allocations: 5.472 MB / 0.5909 GB, free: 4.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.3634, allocations: 4 kB / 0.5909 GB, free: 4.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3634, allocations: 0 / 0.5909 GB, free: 4.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001579/0.3635, allocations: 0 / 0.5909 GB, free: 4.988 MB / 430.1 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.005919/0.3695, allocations: 3.597 MB / 0.5944 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3695, allocations: 12.03 kB / 0.5944 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008445/0.3704, allocations: 0.6749 MB / 0.595 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00988/0.3802, allocations: 2.966 MB / 0.5979 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.3842, allocations: 1.496 MB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.3843, allocations: 168.7 kB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006019/0.3849, allocations: 227.8 kB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.3992, allocations: 9.472 MB / 0.609 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/0.3993, allocations: 19.81 kB / 0.609 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.3996, allocations: 107.8 kB / 0.6092 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/0.4036, allocations: 2.369 MB / 0.6115 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/0.4213, allocations: 8.656 MB / 0.6199 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/0.4644, allocations: 27.63 MB / 0.6469 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/0.4689, allocations: 2.045 MB / 0.6489 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.4702, allocations: 0.8984 MB / 0.6498 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008145/0.4783, allocations: 3.771 MB / 0.6535 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4784, allocations: 51.16 kB / 0.6535 GB, free: 3.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.387e-06/0.4784, allocations: 0 / 0.6535 GB, free: 3.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006103/0.4845, allocations: 2.745 MB / 0.6562 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4845, allocations: 64.05 kB / 0.6562 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.4885, allocations: 2.735 MB / 0.6589 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4886, allocations: 41.69 kB / 0.659 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.4906, allocations: 2.755 MB / 0.6616 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000658/0.4913, allocations: 0.5117 MB / 0.6621 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.4927, allocations: 0.913 MB / 0.663 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.4929, allocations: 357.9 kB / 0.6634 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.4951, allocations: 1.352 MB / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.4996, allocations: 4.126 MB / 0.6687 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/0.5072, allocations: 5.956 MB / 0.6745 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-05/0.5073, allocations: 28 kB / 0.6746 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008306/0.5156, allocations: 5.295 MB / 0.6797 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.5157, allocations: 48 kB / 0.6798 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.5158, allocations: 96 kB / 0.6799 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5159, allocations: 132 kB / 0.68 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/0.5186, allocations: 0.9747 MB / 0.681 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000169/0.5188, allocations: 195.8 kB / 0.6811 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.5213, allocations: 0.6165 MB / 0.6817 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/0.5217, allocations: 280 kB / 0.682 GB, free: 3.391 MB / 0.5137 GB 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.002642/0.5243, allocations: 1.895 MB / 0.6839 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.5246, allocations: 226.5 kB / 0.6841 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.525, allocations: 267.3 kB / 0.6843 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.525, allocations: 16 kB / 0.6844 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.525, allocations: 0 / 0.6844 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5251, allocations: 7.984 kB / 0.6844 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.5346, allocations: 5.449 MB / 0.6897 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/0.5346, allocations: 4.562 kB / 0.6897 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.5352, allocations: 139.8 kB / 0.6898 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.5352, allocations: 12 kB / 0.6898 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.5353, allocations: 20 kB / 0.6898 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.5353, allocations: 11.94 kB / 0.6899 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.5353, allocations: 4 kB / 0.6899 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.5377, allocations: 1.801 MB / 0.6916 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.5381, allocations: 222.2 kB / 0.6918 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.5383, allocations: 16 kB / 0.6918 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.5389, allocations: 39.95 kB / 0.6919 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.539, allocations: 68.28 kB / 0.692 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.5391, allocations: 39.98 kB / 0.692 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002191/0.5413, allocations: 1.556 MB / 0.6935 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5413, allocations: 3.938 kB / 0.6935 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003192/0.5445, allocations: 1 MB / 0.6945 GB, free: 6.383 MB / 0.5294 GB 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.002751/0.5472, allocations: 2.441 MB / 0.6969 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004606/0.5518, allocations: 3.017 MB / 0.6998 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5518, allocations: 5.812 kB / 0.6998 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/0.5528, allocations: 0.6835 MB / 0.7005 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.554, allocations: 250.9 kB / 0.7007 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.261/0.815, allocations: 29.38 MB / 0.7294 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.818, allocations: 2.417 MB / 0.7318 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002457/0.8205, allocations: 1.48 MB / 0.7332 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.8219, allocations: 1.517 MB / 0.7347 GB, free: 157 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.8219, allocations: 0 / 0.7347 GB, free: 157 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.8868, allocations: 38.13 MB / 0.7719 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.52, allocations: 5.609 kB / 0.7719 GB, free: 123.2 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/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: 17.60115286614746]