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.001939/0.001939, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.002322/0.002322, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.2786/0.2786, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002208/0.002208, allocations: 67.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3346, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01216/0.3467, allocations: 9.811 MB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.3528, allocations: 2.704 MB / 0.5728 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.3542, allocations: 59.81 kB / 0.5729 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.357, allocations: 1.312 MB / 0.5741 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.3599, allocations: 1.241 MB / 0.5753 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.3603, allocations: 87.83 kB / 0.5754 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003397/0.3637, allocations: 2.709 MB / 0.5781 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.3658, allocations: 1.679 MB / 0.5797 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3673, allocations: 1.066 MB / 0.5808 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.3694, allocations: 1.53 MB / 0.5823 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004863/0.3699, allocations: 212 kB / 0.5825 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009751/0.3709, allocations: 411.5 kB / 0.5828 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3723, allocations: 1.433 MB / 0.5842 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3736, allocations: 1.191 MB / 0.5854 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005701/0.3793, allocations: 5.476 MB / 0.5908 GB, free: 5.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3793, allocations: 0 / 0.5908 GB, free: 5.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3793, allocations: 3.938 kB / 0.5908 GB, free: 5.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3794, allocations: 0 / 0.5908 GB, free: 5.145 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.005932/0.3854, allocations: 3.604 MB / 0.5943 GB, free: 1.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3854, allocations: 11.97 kB / 0.5943 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000869/0.3863, allocations: 0.671 MB / 0.5949 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009687/0.396, allocations: 2.958 MB / 0.5978 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.3999, allocations: 1.492 MB / 0.5993 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.4001, allocations: 172.6 kB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005967/0.4007, allocations: 223.8 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/0.415, allocations: 9.476 MB / 0.6089 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.4151, allocations: 19.81 kB / 0.6089 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.4154, allocations: 103.8 kB / 0.609 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003878/0.4193, allocations: 2.369 MB / 0.6114 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.4361, allocations: 8.66 MB / 0.6198 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.4825, allocations: 27.64 MB / 0.6468 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004777/0.4873, allocations: 2.033 MB / 0.6488 GB, free: 8.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4887, allocations: 0.8945 MB / 0.6497 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008604/0.4973, allocations: 3.774 MB / 0.6533 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.4974, allocations: 43.22 kB / 0.6534 GB, free: 3.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 6.812e-06/0.4974, allocations: 7.984 kB / 0.6534 GB, free: 3.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006307/0.5037, allocations: 2.753 MB / 0.6561 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.5037, allocations: 60.06 kB / 0.6561 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/0.5085, allocations: 2.735 MB / 0.6588 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.5086, allocations: 37.7 kB / 0.6588 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/0.511, allocations: 2.763 MB / 0.6615 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.5117, allocations: 0.5078 MB / 0.662 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.5132, allocations: 0.9052 MB / 0.6629 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.5134, allocations: 361.9 kB / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.5155, allocations: 1.352 MB / 0.6646 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.52, allocations: 4.122 MB / 0.6686 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008112/0.5281, allocations: 5.964 MB / 0.6744 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/0.5283, allocations: 28 kB / 0.6745 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01042/0.5387, allocations: 5.292 MB / 0.6796 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.5388, allocations: 48 kB / 0.6797 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.539, allocations: 99.98 kB / 0.6798 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.5392, allocations: 128 kB / 0.6799 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/0.5424, allocations: 0.9786 MB / 0.6809 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002163/0.5427, allocations: 191.2 kB / 0.681 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/0.5462, allocations: 0.617 MB / 0.6816 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006927/0.5469, allocations: 279.9 kB / 0.6819 GB, free: 3.559 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.0037/0.5506, allocations: 1.895 MB / 0.6838 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004326/0.5511, allocations: 222.5 kB / 0.684 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.5517, allocations: 275.3 kB / 0.6842 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.5517, allocations: 12 kB / 0.6842 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5517, allocations: 0 / 0.6842 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5517, allocations: 3.984 kB / 0.6842 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.5625, allocations: 5.457 MB / 0.6896 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5625, allocations: 4 kB / 0.6896 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.5632, allocations: 136.4 kB / 0.6897 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.5632, allocations: 8 kB / 0.6897 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/0.5632, allocations: 27.98 kB / 0.6897 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.5632, allocations: 7.938 kB / 0.6897 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.5633, allocations: 8 kB / 0.6898 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.5657, allocations: 1.801 MB / 0.6915 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/0.5663, allocations: 214.2 kB / 0.6917 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.5667, allocations: 23.98 kB / 0.6917 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.5675, allocations: 39.95 kB / 0.6918 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.5677, allocations: 68.28 kB / 0.6918 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.5678, allocations: 43.98 kB / 0.6919 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002852/0.5706, allocations: 1.556 MB / 0.6934 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5706, allocations: 0 / 0.6934 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003897/0.5745, allocations: 1.004 MB / 0.6944 GB, free: 6.543 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.00309/0.5776, allocations: 2.441 MB / 0.6968 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005069/0.5827, allocations: 3.014 MB / 0.6997 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.5827, allocations: 0 / 0.6997 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.5837, allocations: 0.6926 MB / 0.7004 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.5852, allocations: 258.5 kB / 0.7006 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2985/0.8837, allocations: 29.37 MB / 0.7293 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/0.8878, allocations: 2.417 MB / 0.7317 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002527/0.8903, allocations: 1.482 MB / 0.7331 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.8918, allocations: 1.515 MB / 0.7346 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.8918, allocations: 0 / 0.7346 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06627/0.958, allocations: 38.14 MB / 0.7719 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.04, allocations: 2.812 kB / 0.7719 GB, free: 124.8 MB / 0.5606 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.213320329785347]