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.001408/0.001408, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.0016/0.0016, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.191 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.2347/0.2347, allocations: 46.93 MB / 360.8 MB, free: 4.207 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.002367/0.002367, allocations: 79.88 kB / 0.4962 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.347, allocations: 66.09 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0135/0.3605, allocations: 11.29 MB / 0.5718 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.3678, allocations: 2.848 MB / 0.5745 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.3699, allocations: 63.75 kB / 0.5746 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.3731, allocations: 1.358 MB / 0.5759 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.3766, allocations: 1.253 MB / 0.5771 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.3771, allocations: 79.89 kB / 0.5772 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.3809, allocations: 2.728 MB / 0.5799 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.3838, allocations: 1.675 MB / 0.5815 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.386, allocations: 1.062 MB / 0.5826 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.3886, allocations: 1.6 MB / 0.5841 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006502/0.3892, allocations: 208 kB / 0.5843 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.3906, allocations: 0.5032 MB / 0.5848 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.3922, allocations: 1.437 MB / 0.5862 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.3944, allocations: 1.696 MB / 0.5879 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.4012, allocations: 5.464 MB / 0.5932 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4012, allocations: 0 / 0.5932 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4012, allocations: 0 / 0.5932 GB, free: 2.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.4014, allocations: 4 kB / 0.5932 GB, free: 2.887 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.007191/0.4086, allocations: 3.596 MB / 0.5967 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4086, allocations: 12.03 kB / 0.5967 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.4098, allocations: 0.6671 MB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009942/0.4197, allocations: 2.962 MB / 0.6003 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.4236, allocations: 1.48 MB / 0.6017 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.4238, allocations: 173.6 kB / 0.6019 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/0.4244, allocations: 219.8 kB / 0.6021 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.4402, allocations: 9.472 MB / 0.6113 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/0.4402, allocations: 27.69 kB / 0.6114 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.4406, allocations: 107.8 kB / 0.6115 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.4444, allocations: 2.377 MB / 0.6138 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.4615, allocations: 8.66 MB / 0.6223 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04655/0.5081, allocations: 29.06 MB / 0.6506 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004765/0.5128, allocations: 2.04 MB / 0.6526 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.5143, allocations: 0.9023 MB / 0.6535 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009599/0.5239, allocations: 3.954 MB / 0.6574 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.524, allocations: 47.22 kB / 0.6574 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 4.709e-06/0.524, allocations: 0 / 0.6574 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006443/0.5304, allocations: 2.745 MB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.5305, allocations: 60.06 kB / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/0.5349, allocations: 2.569 MB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.5351, allocations: 37.7 kB / 0.6627 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/0.5375, allocations: 2.759 MB / 0.6654 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000719/0.5382, allocations: 0.5078 MB / 0.6659 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.5396, allocations: 0.9091 MB / 0.6668 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.5398, allocations: 365.9 kB / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.5421, allocations: 1.352 MB / 0.6684 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/0.5467, allocations: 4.114 MB / 0.6725 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00729/0.554, allocations: 5.956 MB / 0.6783 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.901e-05/0.5541, allocations: 35.94 kB / 0.6783 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009175/0.5633, allocations: 5.295 MB / 0.6835 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.5633, allocations: 48 kB / 0.6835 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.5635, allocations: 96 kB / 0.6836 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.5636, allocations: 132 kB / 0.6837 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/0.5665, allocations: 0.9747 MB / 0.6847 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001717/0.5667, allocations: 195.8 kB / 0.6849 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.5694, allocations: 0.6205 MB / 0.6855 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/0.5699, allocations: 276 kB / 0.6858 GB, free: 15.87 MB / 0.5294 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.002857/0.5728, allocations: 1.888 MB / 0.6876 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.5731, allocations: 226.4 kB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.5736, allocations: 275.3 kB / 0.6881 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.5736, allocations: 15.98 kB / 0.6881 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.5736, allocations: 11.94 kB / 0.6881 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5736, allocations: 3.984 kB / 0.6881 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.583, allocations: 5.582 MB / 0.6936 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.583, allocations: 4 kB / 0.6936 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.5836, allocations: 139.8 kB / 0.6937 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.5836, allocations: 11.94 kB / 0.6937 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.5837, allocations: 20 kB / 0.6937 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.5837, allocations: 11.94 kB / 0.6937 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5837, allocations: 4 kB / 0.6937 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.586, allocations: 1.801 MB / 0.6955 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.5865, allocations: 218.2 kB / 0.6957 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.5867, allocations: 19.98 kB / 0.6957 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.5873, allocations: 43.97 kB / 0.6958 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5874, allocations: 64.27 kB / 0.6958 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.5875, allocations: 43.98 kB / 0.6959 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002416/0.5899, allocations: 1.556 MB / 0.6974 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5899, allocations: 0 / 0.6974 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003611/0.5935, allocations: 1.004 MB / 0.6984 GB, free: 2.715 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.002859/0.5964, allocations: 2.437 MB / 0.7008 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004888/0.6013, allocations: 3.03 MB / 0.7037 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.6013, allocations: 0 / 0.7037 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.6023, allocations: 0.6785 MB / 0.7044 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6036, allocations: 251.5 kB / 0.7046 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3022/0.9058, allocations: 29.37 MB / 0.7333 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.9084, allocations: 2.962 MB / 0.7362 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00273/0.9112, allocations: 1.488 MB / 0.7376 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/0.9129, allocations: 1.516 MB / 0.7391 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.143e-06/0.9129, allocations: 0 / 0.7391 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07763/0.9905, allocations: 42.52 MB / 0.7807 GB, free: 115 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.43, allocations: 2.25 kB / 0.7807 GB, free: 115 MB / 0.5606 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.csv","/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.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.552485898995656]