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.001632/0.001632, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001999/0.001999, allocations: 203.9 kB / 23.73 MB, free: 4.379 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.218/0.218, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.001911/0.001911, allocations: 67.91 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01122/0.3219, allocations: 9.814 MB / 0.5702 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.3272, allocations: 2.697 MB / 0.5728 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009861/0.3282, allocations: 63.81 kB / 0.5729 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.3306, allocations: 1.3 MB / 0.5741 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.3331, allocations: 1.261 MB / 0.5754 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.3334, allocations: 83.91 kB / 0.5754 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.3362, allocations: 2.717 MB / 0.5781 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.3384, allocations: 1.679 MB / 0.5797 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.3405, allocations: 1.055 MB / 0.5808 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3429, allocations: 1.604 MB / 0.5823 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.3435, allocations: 208 kB / 0.5825 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.3445, allocations: 419.5 kB / 0.5829 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.3461, allocations: 1.433 MB / 0.5843 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.3475, allocations: 1.187 MB / 0.5855 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.3535, allocations: 5.488 MB / 0.5908 GB, free: 5.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3535, allocations: 4 kB / 0.5909 GB, free: 5.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3535, allocations: 3.938 kB / 0.5909 GB, free: 5.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001282/0.3537, allocations: 0 / 0.5909 GB, free: 5.082 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.005249/0.3589, allocations: 3.597 MB / 0.5944 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.359, allocations: 12.03 kB / 0.5944 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007462/0.3597, allocations: 0.6632 MB / 0.595 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/0.3691, allocations: 2.966 MB / 0.5979 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.3728, allocations: 1.492 MB / 0.5994 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3729, allocations: 176.6 kB / 0.5995 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005271/0.3735, allocations: 227.8 kB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.3865, allocations: 9.468 MB / 0.609 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.3866, allocations: 19.81 kB / 0.609 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.3869, allocations: 107.8 kB / 0.6091 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003551/0.3904, allocations: 2.373 MB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.4038, allocations: 8.652 MB / 0.6199 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/0.4395, allocations: 27.64 MB / 0.6469 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.4436, allocations: 2.032 MB / 0.6489 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.4448, allocations: 0.9023 MB / 0.6498 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008204/0.453, allocations: 3.767 MB / 0.6534 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.4531, allocations: 43.22 kB / 0.6535 GB, free: 3.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.296e-06/0.4531, allocations: 0 / 0.6535 GB, free: 3.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.005854/0.4589, allocations: 2.753 MB / 0.6562 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.459, allocations: 60.06 kB / 0.6562 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.4631, allocations: 2.735 MB / 0.6589 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4632, allocations: 37.7 kB / 0.6589 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/0.4653, allocations: 2.763 MB / 0.6616 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005608/0.4659, allocations: 0.5078 MB / 0.6621 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4671, allocations: 0.9091 MB / 0.663 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4672, allocations: 361.9 kB / 0.6634 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.4692, allocations: 1.352 MB / 0.6647 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/0.4733, allocations: 4.118 MB / 0.6687 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007135/0.4805, allocations: 5.964 MB / 0.6745 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.4806, allocations: 36 kB / 0.6746 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009894/0.4905, allocations: 5.296 MB / 0.6797 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.4906, allocations: 44 kB / 0.6798 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.4907, allocations: 100 kB / 0.6799 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.4908, allocations: 128 kB / 0.68 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.4937, allocations: 0.9786 MB / 0.6809 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/0.4939, allocations: 187.3 kB / 0.6811 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.4967, allocations: 0.6166 MB / 0.6817 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/0.4971, allocations: 275.9 kB / 0.682 GB, free: 3.512 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.0028/0.4999, allocations: 1.899 MB / 0.6838 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.5002, allocations: 226.5 kB / 0.6841 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.5007, allocations: 271.3 kB / 0.6843 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.5007, allocations: 16 kB / 0.6843 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5007, allocations: 0 / 0.6843 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5007, allocations: 3.984 kB / 0.6843 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/0.5096, allocations: 5.457 MB / 0.6897 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.5096, allocations: 4 kB / 0.6897 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.5102, allocations: 131.8 kB / 0.6898 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.5102, allocations: 11.94 kB / 0.6898 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.5103, allocations: 20 kB / 0.6898 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.5103, allocations: 12.55 kB / 0.6898 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5103, allocations: 4 kB / 0.6898 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5125, allocations: 1.801 MB / 0.6916 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.5129, allocations: 222.2 kB / 0.6918 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.5131, allocations: 16 kB / 0.6918 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.5137, allocations: 51.88 kB / 0.6919 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5138, allocations: 64.27 kB / 0.6919 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.5139, allocations: 40 kB / 0.692 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002155/0.516, allocations: 1.56 MB / 0.6935 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.516, allocations: 4 kB / 0.6935 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003203/0.5192, allocations: 1.004 MB / 0.6945 GB, free: 6.484 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.002639/0.5219, allocations: 2.433 MB / 0.6969 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004431/0.5263, allocations: 3.015 MB / 0.6998 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5263, allocations: 0 / 0.6998 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/0.5271, allocations: 0.6824 MB / 0.7005 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5283, allocations: 265 kB / 0.7007 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/0.7998, allocations: 29.37 MB / 0.7294 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/0.8031, allocations: 2.412 MB / 0.7318 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002367/0.8054, allocations: 1.49 MB / 0.7332 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.8068, allocations: 1.509 MB / 0.7347 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.8068, allocations: 0 / 0.7347 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06607/0.8728, allocations: 40.22 MB / 0.774 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.3, allocations: 3.375 kB / 0.774 GB, free: 121.5 MB / 0.5606 GB " [Timeout remaining time 646] (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: 17.216344915010268]