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.001665/0.001665, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002005/0.002005, allocations: 206.1 kB / 23.72 MB, free: 4.391 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2296/0.2296, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.002426/0.002426, allocations: 83.86 kB / 0.4962 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3355, allocations: 66.08 MB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01303/0.3486, allocations: 9.808 MB / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.3549, allocations: 2.697 MB / 0.5729 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.3563, allocations: 63.81 kB / 0.573 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.3593, allocations: 1.308 MB / 0.5742 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.363, allocations: 1.249 MB / 0.5755 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3634, allocations: 83.84 kB / 0.5755 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.367, allocations: 2.712 MB / 0.5782 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.3691, allocations: 1.675 MB / 0.5798 GB, free: 372 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.3705, allocations: 1.062 MB / 0.5809 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.3726, allocations: 1.534 MB / 0.5824 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004428/0.373, allocations: 208 kB / 0.5825 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009409/0.3739, allocations: 419.5 kB / 0.5829 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.3753, allocations: 1.429 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.3766, allocations: 1.187 MB / 0.5855 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.3826, allocations: 5.48 MB / 0.5909 GB, free: 5.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3826, allocations: 3.938 kB / 0.5909 GB, free: 5.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3826, allocations: 0 / 0.5909 GB, free: 5.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001431/0.3828, allocations: 0 / 0.5909 GB, free: 5.008 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.006305/0.3891, allocations: 3.601 MB / 0.5944 GB, free: 1.355 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3891, allocations: 11.97 kB / 0.5944 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009286/0.3901, allocations: 0.6671 MB / 0.595 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009618/0.3997, allocations: 2.966 MB / 0.5979 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.4036, allocations: 1.492 MB / 0.5994 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.4038, allocations: 172.7 kB / 0.5996 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/0.4045, allocations: 223.8 kB / 0.5998 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.4197, allocations: 9.472 MB / 0.609 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.4198, allocations: 19.81 kB / 0.609 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.4201, allocations: 107.8 kB / 0.6091 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.4239, allocations: 2.369 MB / 0.6115 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/0.4406, allocations: 8.659 MB / 0.6199 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04296/0.4836, allocations: 27.64 MB / 0.6469 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/0.4882, allocations: 2.037 MB / 0.6489 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.4896, allocations: 0.8984 MB / 0.6498 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008831/0.4984, allocations: 3.778 MB / 0.6535 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.4985, allocations: 47.22 kB / 0.6535 GB, free: 3.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.667e-06/0.4985, allocations: 0 / 0.6535 GB, free: 3.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006372/0.5049, allocations: 2.749 MB / 0.6562 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.5049, allocations: 64 kB / 0.6562 GB, free: 0.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.5096, allocations: 2.736 MB / 0.6589 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.5098, allocations: 37.7 kB / 0.659 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.5121, allocations: 2.763 MB / 0.6617 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/0.5127, allocations: 0.5079 MB / 0.6622 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.5141, allocations: 0.9052 MB / 0.663 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.5143, allocations: 357.9 kB / 0.6634 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.5165, allocations: 1.352 MB / 0.6647 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004685/0.5212, allocations: 4.126 MB / 0.6687 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007365/0.5285, allocations: 5.96 MB / 0.6745 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.913e-05/0.5286, allocations: 28 kB / 0.6746 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009062/0.5377, allocations: 5.295 MB / 0.6797 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/0.5378, allocations: 44 kB / 0.6798 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.5379, allocations: 100 kB / 0.6799 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.5381, allocations: 132 kB / 0.68 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.541, allocations: 0.9747 MB / 0.681 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002093/0.5412, allocations: 191.8 kB / 0.6811 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.5441, allocations: 0.6204 MB / 0.6817 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/0.5446, allocations: 280 kB / 0.682 GB, free: 3.414 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.003153/0.5477, allocations: 1.895 MB / 0.6839 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.5481, allocations: 222.5 kB / 0.6841 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.5487, allocations: 271.3 kB / 0.6843 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-05/0.5487, allocations: 16 kB / 0.6844 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5487, allocations: 0 / 0.6844 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.5487, allocations: 3.984 kB / 0.6844 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5591, allocations: 5.453 MB / 0.6897 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5591, allocations: 4 kB / 0.6897 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.5597, allocations: 132.4 kB / 0.6898 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.5597, allocations: 12 kB / 0.6898 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.5597, allocations: 23.98 kB / 0.6898 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.5598, allocations: 11.94 kB / 0.6899 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.5598, allocations: 7.984 kB / 0.6899 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.5623, allocations: 1.801 MB / 0.6916 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.5628, allocations: 218.2 kB / 0.6918 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.563, allocations: 16 kB / 0.6918 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.5636, allocations: 39.95 kB / 0.6919 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5637, allocations: 68.28 kB / 0.6919 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.5638, allocations: 47.97 kB / 0.692 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002567/0.5663, allocations: 1.556 MB / 0.6935 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5663, allocations: 0 / 0.6935 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003933/0.5703, allocations: 0.9965 MB / 0.6945 GB, free: 6.41 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.003324/0.5736, allocations: 2.452 MB / 0.6969 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005687/0.5793, allocations: 3.017 MB / 0.6998 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.5793, allocations: 0 / 0.6998 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5803, allocations: 0.6888 MB / 0.7005 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.5818, allocations: 239.8 kB / 0.7007 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.29/0.8718, allocations: 29.37 MB / 0.7294 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/0.8757, allocations: 2.413 MB / 0.7318 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002575/0.8782, allocations: 1.485 MB / 0.7332 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.8799, allocations: 1.515 MB / 0.7347 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.8799, allocations: 0 / 0.7347 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.9488, allocations: 38.13 MB / 0.7719 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.07, allocations: 4.062 kB / 0.7719 GB, free: 123.1 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.136482839938253]