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.001696/0.001696, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002299/0.002299, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2255/0.2255, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] 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.001965/0.001965, allocations: 67.89 kB / 0.4961 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 66.04 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01326/0.3518, allocations: 11.31 MB / 0.5717 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006313/0.3581, allocations: 2.844 MB / 0.5745 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.3596, allocations: 59.81 kB / 0.5745 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.3626, allocations: 1.358 MB / 0.5758 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.3659, allocations: 1.257 MB / 0.5771 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.3664, allocations: 79.84 kB / 0.5771 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.3707, allocations: 2.72 MB / 0.5798 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.3731, allocations: 1.679 MB / 0.5814 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.3748, allocations: 1.059 MB / 0.5825 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.3773, allocations: 1.596 MB / 0.584 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007405/0.3781, allocations: 212 kB / 0.5842 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.3796, allocations: 0.5071 MB / 0.5847 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.3814, allocations: 1.441 MB / 0.5861 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.384, allocations: 1.688 MB / 0.5878 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007978/0.392, allocations: 5.46 MB / 0.5931 GB, free: 3.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.392, allocations: 7.938 kB / 0.5931 GB, free: 3.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.392, allocations: 0 / 0.5931 GB, free: 3.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.3922, allocations: 0 / 0.5931 GB, free: 3.039 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.008011/0.4002, allocations: 3.597 MB / 0.5966 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4003, allocations: 12.03 kB / 0.5967 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00141/0.4017, allocations: 0.6671 MB / 0.5973 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.4118, allocations: 2.962 MB / 0.6002 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.4162, allocations: 1.476 MB / 0.6016 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.4164, allocations: 172.6 kB / 0.6018 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008163/0.4172, allocations: 223.8 kB / 0.602 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.4331, allocations: 9.472 MB / 0.6113 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/0.4332, allocations: 19.81 kB / 0.6113 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004389/0.4336, allocations: 111.8 kB / 0.6114 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003849/0.4374, allocations: 2.369 MB / 0.6137 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.454, allocations: 8.668 MB / 0.6222 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04531/0.4993, allocations: 29.07 MB / 0.6506 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.5042, allocations: 2.036 MB / 0.6525 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.5056, allocations: 0.8984 MB / 0.6534 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009093/0.5147, allocations: 3.954 MB / 0.6573 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5148, allocations: 43.22 kB / 0.6573 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 4.108e-06/0.5148, allocations: 0 / 0.6573 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006317/0.5211, allocations: 2.753 MB / 0.66 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.5212, allocations: 60.06 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/0.5251, allocations: 2.566 MB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.5253, allocations: 41.69 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/0.5275, allocations: 2.759 MB / 0.6653 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/0.5282, allocations: 0.5117 MB / 0.6658 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.5296, allocations: 0.9052 MB / 0.6667 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.5299, allocations: 357.9 kB / 0.667 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.532, allocations: 1.352 MB / 0.6684 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004706/0.5367, allocations: 4.122 MB / 0.6724 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/0.5444, allocations: 5.96 MB / 0.6782 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.5445, allocations: 28 kB / 0.6782 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01104/0.5555, allocations: 5.295 MB / 0.6834 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.5556, allocations: 48.97 kB / 0.6834 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.5557, allocations: 100 kB / 0.6835 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.5559, allocations: 128 kB / 0.6837 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/0.559, allocations: 0.9825 MB / 0.6846 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001944/0.5592, allocations: 191.2 kB / 0.6848 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.5625, allocations: 0.6088 MB / 0.6854 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/0.5631, allocations: 283.9 kB / 0.6857 GB, free: 28 kB / 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.003473/0.5666, allocations: 1.895 MB / 0.6875 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.567, allocations: 230.5 kB / 0.6877 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005875/0.5676, allocations: 271.3 kB / 0.688 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.5676, allocations: 16 kB / 0.688 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.5676, allocations: 0 / 0.688 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.5676, allocations: 7.922 kB / 0.688 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.5778, allocations: 5.586 MB / 0.6935 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5778, allocations: 4 kB / 0.6935 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.5784, allocations: 135.8 kB / 0.6936 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.5784, allocations: 8 kB / 0.6936 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.5785, allocations: 23.98 kB / 0.6936 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/0.5785, allocations: 19.91 kB / 0.6937 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5785, allocations: 4 kB / 0.6937 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.5809, allocations: 1.798 MB / 0.6954 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.5815, allocations: 222.2 kB / 0.6956 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.5818, allocations: 24 kB / 0.6956 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.5825, allocations: 39.94 kB / 0.6957 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5826, allocations: 64.28 kB / 0.6957 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.5827, allocations: 36 kB / 0.6958 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002609/0.5853, allocations: 1.56 MB / 0.6973 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5853, allocations: 3.938 kB / 0.6973 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004753/0.5901, allocations: 1.008 MB / 0.6983 GB, free: 2.859 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.003137/0.5932, allocations: 2.441 MB / 0.7007 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005195/0.5984, allocations: 3.014 MB / 0.7036 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/0.5984, allocations: 0 / 0.7036 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5994, allocations: 0.684 MB / 0.7043 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.6013, allocations: 260 kB / 0.7045 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/0.8824, allocations: 29.37 MB / 0.7332 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/0.8855, allocations: 2.959 MB / 0.7361 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002669/0.8882, allocations: 1.486 MB / 0.7376 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/0.8899, allocations: 1.508 MB / 0.739 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/0.8899, allocations: 3.719 kB / 0.739 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.9648, allocations: 42.53 MB / 0.7806 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/19.44, allocations: 6.953 kB / 0.7806 GB, free: 115.3 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.587768551005865]