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.001284/0.001284, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001591/0.001591, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.062 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01133/0.324, allocations: 9.07 MB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006044/0.33, allocations: 2.945 MB / 0.5723 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007942/0.3308, allocations: 79.62 kB / 0.5724 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.3357, allocations: 2.593 MB / 0.5749 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.338, allocations: 1.14 MB / 0.576 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.3386, allocations: 275.5 kB / 0.5763 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.3407, allocations: 1.509 MB / 0.5778 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.3431, allocations: 1.917 MB / 0.5796 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.3444, allocations: 0.9265 MB / 0.5806 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005153/0.3495, allocations: 3.439 MB / 0.5839 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.35, allocations: 188 kB / 0.5841 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.3507, allocations: 267.8 kB / 0.5843 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002563/0.3533, allocations: 3.009 MB / 0.5873 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.3556, allocations: 2.261 MB / 0.5895 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.3662, allocations: 9.948 MB / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3662, allocations: 0 / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3662, allocations: 0 / 0.5992 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.3664, allocations: 4 kB / 0.5992 GB, free: 12.49 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.01313/0.3795, allocations: 9.046 MB / 0.608 GB, free: 3.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3795, allocations: 8.031 kB / 0.6081 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007851/0.3803, allocations: 0.6157 MB / 0.6087 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.3815, allocations: 1.024 MB / 0.6097 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005926/0.3874, allocations: 3.752 MB / 0.6133 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3875, allocations: 127.1 kB / 0.6134 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.3878, allocations: 167.9 kB / 0.6136 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.396, allocations: 6.608 MB / 0.6201 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.396, allocations: 7.938 kB / 0.6201 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.3962, allocations: 75.94 kB / 0.6201 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.3979, allocations: 1.561 MB / 0.6217 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.4044, allocations: 4.133 MB / 0.6257 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.4327, allocations: 19.22 MB / 0.6445 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.4344, allocations: 334.2 kB / 0.6448 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4345, allocations: 56.83 kB / 0.6448 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004622/0.4391, allocations: 1.8 MB / 0.6466 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.4392, allocations: 105.8 kB / 0.6467 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.667e-06/0.4392, allocations: 3.984 kB / 0.6467 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001025/0.4402, allocations: 0.8786 MB / 0.6476 GB, free: 10.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.4403, allocations: 130.7 kB / 0.6477 GB, free: 10.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/0.4566, allocations: 10.75 MB / 0.6582 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4566, allocations: 29.7 kB / 0.6582 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00617/0.4628, allocations: 5.958 MB / 0.664 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.463, allocations: 91.89 kB / 0.6641 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.4641, allocations: 0.8261 MB / 0.6649 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4642, allocations: 304.9 kB / 0.6652 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4653, allocations: 0.7577 MB / 0.6659 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/0.4692, allocations: 3.999 MB / 0.6699 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/0.4754, allocations: 5.201 MB / 0.6749 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.433e-05/0.4755, allocations: 35.94 kB / 0.675 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008342/0.4839, allocations: 4.964 MB / 0.6798 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.4839, allocations: 56 kB / 0.6799 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.4841, allocations: 124.1 kB / 0.68 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.4842, allocations: 155.9 kB / 0.6801 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/0.4867, allocations: 0.9864 MB / 0.6811 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001837/0.4869, allocations: 227.1 kB / 0.6813 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.4907, allocations: 0.6165 MB / 0.6819 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.491, allocations: 292 kB / 0.6822 GB, free: 3.441 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.004978/0.496, allocations: 3.401 MB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/0.4973, allocations: 0.9563 MB / 0.6864 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.499, allocations: 1.023 MB / 0.6874 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.143e-05/0.4991, allocations: 180.2 kB / 0.6876 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.909e-05/0.4991, allocations: 188.2 kB / 0.6878 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/0.4992, allocations: 184 kB / 0.688 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007382/0.5066, allocations: 4.982 MB / 0.6928 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.966e-05/0.5067, allocations: 105 kB / 0.6929 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.5067, allocations: 104.9 kB / 0.693 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.063e-05/0.5068, allocations: 176.3 kB / 0.6932 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5069, allocations: 188.2 kB / 0.6934 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001134/0.507, allocations: 176.3 kB / 0.6936 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-05/0.5071, allocations: 184.2 kB / 0.6937 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5087, allocations: 1.195 MB / 0.6949 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.5105, allocations: 0.8739 MB / 0.6958 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006205/0.5111, allocations: 184.2 kB / 0.6959 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/0.512, allocations: 105 kB / 0.696 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.5121, allocations: 188.1 kB / 0.6962 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.5122, allocations: 101 kB / 0.6963 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01259/0.5247, allocations: 7.142 MB / 0.7033 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5247, allocations: 0 / 0.7033 GB, free: 13.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004643/0.5294, allocations: 1.137 MB / 0.7044 GB, free: 12.52 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.001765/0.5311, allocations: 1.756 MB / 0.7061 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.5343, allocations: 1.808 MB / 0.7079 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5343, allocations: 0 / 0.7079 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.5343, allocations: 0 / 0.7079 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/0.5475, allocations: 3.46 MB / 0.7112 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.601/1.149, allocations: 62.44 MB / 0.7722 GB, free: 109.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005541/1.154, allocations: 4.817 MB / 0.7769 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005305/1.159, allocations: 2.096 MB / 0.779 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004209/1.164, allocations: 4.061 MB / 0.7829 GB, free: 98.76 MB / 0.5607 GB Notification: Performance of SimCode: time 1.863e-06/1.164, allocations: 0 / 0.7829 GB, free: 98.76 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2426/1.406, allocations: 164.2 MB / 0.9433 GB, free: 200 kB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.53/30.93, allocations: 8 kB / 0.9433 GB, free: 192 kB / 0.6232 GB " [Timeout remaining time 629] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 34.6460529610049]