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.001579/0.001579, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001816/0.001816, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.543/1.543, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2263/0.2263, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 71.88 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 65.42 MB / 0.5517 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02056/0.2079, allocations: 11.3 MB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009213/0.2171, allocations: 2.839 MB / 0.5655 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.2197, allocations: 59.81 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004604/0.2243, allocations: 1.347 MB / 0.5669 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.2294, allocations: 1.249 MB / 0.5681 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.2302, allocations: 75.84 kB / 0.5682 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005855/0.236, allocations: 2.72 MB / 0.5709 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.2396, allocations: 1.618 MB / 0.5724 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.2421, allocations: 1.059 MB / 0.5735 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003654/0.2458, allocations: 1.608 MB / 0.575 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009384/0.2467, allocations: 208 kB / 0.5752 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2487, allocations: 0.5071 MB / 0.5757 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002499/0.2512, allocations: 1.421 MB / 0.5771 GB, free: 12 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003391/0.2546, allocations: 1.696 MB / 0.5788 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2648, allocations: 5.46 MB / 0.5841 GB, free: 8.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2648, allocations: 0 / 0.5841 GB, free: 8.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2648, allocations: 0 / 0.5841 GB, free: 8.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00021/0.2651, allocations: 4 kB / 0.5841 GB, free: 8.812 MB / 446.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.01093/0.276, allocations: 3.672 MB / 0.5877 GB, free: 5.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.276, allocations: 12.03 kB / 0.5877 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002279/0.2783, allocations: 0.671 MB / 0.5884 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.2939, allocations: 2.966 MB / 0.5913 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3127/0.6066, allocations: 1.532 MB / 0.5928 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.6068, allocations: 173.8 kB / 0.5929 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009095/0.6077, allocations: 221.8 kB / 0.5931 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.6238, allocations: 9.474 MB / 0.6024 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.6238, allocations: 19.34 kB / 0.6024 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000353/0.6242, allocations: 109.5 kB / 0.6025 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/0.6282, allocations: 2.368 MB / 0.6048 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.6445, allocations: 8.671 MB / 0.6133 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.6775, allocations: 29.17 MB / 0.6418 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.6817, allocations: 2.937 MB / 0.6446 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6832, allocations: 0.9052 MB / 0.6455 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008739/0.6919, allocations: 4.844 MB / 0.6503 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.692, allocations: 47.2 kB / 0.6503 GB, free: 9.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.557e-06/0.692, allocations: 0 / 0.6503 GB, free: 9.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006351/0.6983, allocations: 2.749 MB / 0.653 GB, free: 6.629 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.6984, allocations: 60.06 kB / 0.653 GB, free: 6.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.7021, allocations: 2.578 MB / 0.6556 GB, free: 4.016 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7022, allocations: 41.7 kB / 0.6556 GB, free: 3.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00213/0.7043, allocations: 2.752 MB / 0.6583 GB, free: 1.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/0.7049, allocations: 0.5156 MB / 0.6588 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.7062, allocations: 0.9013 MB / 0.6597 GB, free: 15.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.7064, allocations: 357.9 kB / 0.66 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.7084, allocations: 1.355 MB / 0.6613 GB, free: 14.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/0.713, allocations: 4.118 MB / 0.6654 GB, free: 8.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/0.7207, allocations: 5.964 MB / 0.6712 GB, free: 1.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.173e-05/0.7208, allocations: 28 kB / 0.6712 GB, free: 1.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009051/0.7298, allocations: 5.296 MB / 0.6764 GB, free: 11.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.7299, allocations: 44 kB / 0.6764 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.73, allocations: 100 kB / 0.6765 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.7302, allocations: 134 kB / 0.6766 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/0.733, allocations: 0.9708 MB / 0.6776 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001633/0.7332, allocations: 195.2 kB / 0.6778 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.736, allocations: 0.6243 MB / 0.6784 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/0.7365, allocations: 276 kB / 0.6787 GB, free: 9.66 MB / 494.1 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.002846/0.7393, allocations: 1.897 MB / 0.6805 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.7397, allocations: 222.5 kB / 0.6807 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.7402, allocations: 271.3 kB / 0.681 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.7402, allocations: 19.94 kB / 0.681 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.7403, allocations: 0 / 0.681 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.7403, allocations: 3.984 kB / 0.681 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009072/0.7493, allocations: 5.611 MB / 0.6865 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.7493, allocations: 4 kB / 0.6865 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.7499, allocations: 135.8 kB / 0.6866 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.7499, allocations: 8 kB / 0.6866 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.75, allocations: 23.94 kB / 0.6866 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.75, allocations: 12.48 kB / 0.6867 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.75, allocations: 8 kB / 0.6867 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.7524, allocations: 1.793 MB / 0.6884 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.7529, allocations: 303.2 kB / 0.6887 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.7531, allocations: 27.88 kB / 0.6887 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.7537, allocations: 47.94 kB / 0.6888 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.7538, allocations: 59.44 kB / 0.6888 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.7539, allocations: 43.98 kB / 0.6889 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002353/0.7563, allocations: 1.56 MB / 0.6904 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7563, allocations: 0 / 0.6904 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00359/0.7599, allocations: 1 MB / 0.6914 GB, free: 12.39 MB / 0.4981 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.002937/0.7628, allocations: 2.433 MB / 0.6938 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005186/0.768, allocations: 3.015 MB / 0.6967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.768, allocations: 4 kB / 0.6967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.7689, allocations: 0.6877 MB / 0.6974 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.7702, allocations: 262.2 kB / 0.6976 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04551/0.8158, allocations: 29.37 MB / 0.7263 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003828/0.8196, allocations: 2.969 MB / 0.7292 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003332/0.8229, allocations: 1.484 MB / 0.7307 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/0.8252, allocations: 1.515 MB / 0.7321 GB, free: 14.74 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.8252, allocations: 0 / 0.7321 GB, free: 14.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08031/0.9055, allocations: 38.79 MB / 0.77 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.83, allocations: 2.969 kB / 0.77 GB, free: 8.145 MB / 0.5762 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/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.csv. Warning: Get data of variable torus1.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus1.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus1.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nu in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nu from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! Error: Could not read variable torus2.surface.nv in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv. Warning: Get data of variable torus2.surface.nv from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.058110975194722]