Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001948/0.001948, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002528/0.002528, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2423/0.2423, allocations: 46.96 MB / 361.7 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.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.83 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3829, allocations: 66.02 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01184/0.3947, allocations: 9.015 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.4022, allocations: 2.933 MB / 0.573 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.4039, allocations: 79.62 kB / 0.5731 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00555/0.4094, allocations: 2.597 MB / 0.5756 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.4127, allocations: 1.132 MB / 0.5767 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.4135, allocations: 275.5 kB / 0.577 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002403/0.4159, allocations: 1.502 MB / 0.5785 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.4186, allocations: 1.921 MB / 0.5803 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4203, allocations: 0.9226 MB / 0.5812 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.4254, allocations: 3.442 MB / 0.5846 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007539/0.4262, allocations: 184 kB / 0.5848 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.4273, allocations: 275.8 kB / 0.585 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003291/0.4306, allocations: 3.009 MB / 0.588 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00365/0.4342, allocations: 2.258 MB / 0.5902 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.4461, allocations: 9.944 MB / 0.5999 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4461, allocations: 3.938 kB / 0.5999 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4461, allocations: 3.938 kB / 0.5999 GB, free: 12.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003387/0.4464, allocations: 0 / 0.5999 GB, free: 12.56 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01681/0.4632, allocations: 9.05 MB / 0.6087 GB, free: 3.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.4633, allocations: 8.031 kB / 0.6087 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001535/0.4634, allocations: 75.41 kB / 0.6088 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001468/0.4649, allocations: 0.6157 MB / 0.6094 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.4669, allocations: 1.028 MB / 0.6104 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007436/0.4744, allocations: 3.751 MB / 0.6141 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.4745, allocations: 131.1 kB / 0.6142 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.475, allocations: 164 kB / 0.6144 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.4864, allocations: 6.612 MB / 0.6208 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.4864, allocations: 7.938 kB / 0.6208 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.4868, allocations: 75.89 kB / 0.6209 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.4888, allocations: 1.561 MB / 0.6224 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008673/0.4974, allocations: 4.129 MB / 0.6265 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.531, allocations: 19.22 MB / 0.6452 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5327, allocations: 334.2 kB / 0.6455 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.5328, allocations: 60.81 kB / 0.6456 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004609/0.5374, allocations: 1.796 MB / 0.6474 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.639e-05/0.5375, allocations: 109.9 kB / 0.6475 GB, free: 11.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.5375, allocations: 0 / 0.6475 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001421/0.5389, allocations: 0.8786 MB / 0.6483 GB, free: 10.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.539, allocations: 130.7 kB / 0.6484 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01962/0.5586, allocations: 10.55 MB / 0.6588 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.5586, allocations: 29.7 kB / 0.6588 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007311/0.566, allocations: 5.954 MB / 0.6646 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.5661, allocations: 95.89 kB / 0.6647 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/0.5675, allocations: 0.8222 MB / 0.6655 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5677, allocations: 312.9 kB / 0.6658 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.5692, allocations: 0.7538 MB / 0.6665 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/0.5745, allocations: 3.999 MB / 0.6704 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00676/0.5813, allocations: 5.197 MB / 0.6755 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00013/0.5814, allocations: 39.94 kB / 0.6755 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01025/0.5917, allocations: 4.96 MB / 0.6804 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.5918, allocations: 59.98 kB / 0.6804 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002178/0.592, allocations: 116 kB / 0.6806 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.5922, allocations: 156.1 kB / 0.6807 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.5951, allocations: 0.9863 MB / 0.6817 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002382/0.5953, allocations: 227.1 kB / 0.6819 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00432/0.5997, allocations: 0.6165 MB / 0.6825 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006479/0.6003, allocations: 296 kB / 0.6828 GB, free: 3.633 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 (537): * Single equations (assignments): 537 * Array equations: 0 * 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.005741/0.606, allocations: 3.405 MB / 0.6861 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/0.6076, allocations: 0.9563 MB / 0.687 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.6098, allocations: 1.019 MB / 0.688 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.018e-05/0.6099, allocations: 180.2 kB / 0.6882 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-05/0.61, allocations: 184.2 kB / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-05/0.6101, allocations: 184 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.6213, allocations: 4.982 MB / 0.6934 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/0.6213, allocations: 105 kB / 0.6935 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.6214, allocations: 108.9 kB / 0.6936 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.6215, allocations: 176.3 kB / 0.6938 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.6216, allocations: 184.2 kB / 0.694 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-05/0.6217, allocations: 184.3 kB / 0.6941 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.895e-05/0.6218, allocations: 188.1 kB / 0.6943 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.6232, allocations: 1.195 MB / 0.6955 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.6249, allocations: 0.87 MB / 0.6963 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007534/0.6257, allocations: 188.2 kB / 0.6965 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.6265, allocations: 101 kB / 0.6966 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.6266, allocations: 188.1 kB / 0.6968 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.6267, allocations: 105 kB / 0.6969 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01424/0.6409, allocations: 7.142 MB / 0.7039 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6409, allocations: 0 / 0.7039 GB, free: 13.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005275/0.6462, allocations: 1.141 MB / 0.705 GB, free: 12.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.002519/0.6487, allocations: 1.744 MB / 0.7067 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.6524, allocations: 1.808 MB / 0.7084 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6524, allocations: 0 / 0.7084 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.6524, allocations: 0 / 0.7084 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01407/0.6665, allocations: 3.448 MB / 0.7118 GB, free: 5.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6465/1.313, allocations: 62.45 MB / 0.7728 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007408/1.32, allocations: 4.825 MB / 0.7775 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005962/1.326, allocations: 2.098 MB / 0.7796 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004709/1.331, allocations: 4.057 MB / 0.7835 GB, free: 98.86 MB / 0.5607 GB Notification: Performance of SimCode: time 1.593e-06/1.331, allocations: 3.938 kB / 0.7835 GB, free: 98.86 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/1.574, allocations: 162.9 MB / 0.9426 GB, free: 1.348 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.17/45.75, allocations: 7.438 kB / 0.9426 GB, free: 1.344 MB / 0.6232 GB " [Timeout remaining time 614] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 50.363470693002455]