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.001614/0.001614, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001794/0.001794, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2485/0.2485, allocations: 46.93 MB / 360.9 MB, free: 4.254 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.002266/0.002266, allocations: 71.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3414, allocations: 66.03 MB / 0.5606 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0127/0.3541, allocations: 10.43 MB / 0.5708 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0071/0.3612, allocations: 3.108 MB / 0.5739 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.363, allocations: 75.62 kB / 0.5739 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005744/0.3687, allocations: 2.726 MB / 0.5766 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.3719, allocations: 1.128 MB / 0.5777 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.3729, allocations: 275.5 kB / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.3756, allocations: 1.513 MB / 0.5794 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.3788, allocations: 1.917 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.3805, allocations: 0.9304 MB / 0.5822 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/0.3861, allocations: 3.431 MB / 0.5856 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.3869, allocations: 188 kB / 0.5857 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3881, allocations: 279.8 kB / 0.586 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003447/0.3915, allocations: 3.009 MB / 0.5889 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004305/0.3958, allocations: 3.337 MB / 0.5922 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4071, allocations: 9.878 MB / 0.6019 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4071, allocations: 0 / 0.6019 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4071, allocations: 0 / 0.6019 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003536/0.4075, allocations: 4 kB / 0.6019 GB, free: 10.04 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.01658/0.4241, allocations: 9.039 MB / 0.6107 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4241, allocations: 8.031 kB / 0.6107 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001456/0.4256, allocations: 0.6157 MB / 0.6113 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.4276, allocations: 1.024 MB / 0.6123 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.4352, allocations: 3.743 MB / 0.6159 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.4353, allocations: 135.1 kB / 0.6161 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/0.4357, allocations: 160 kB / 0.6162 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.447, allocations: 6.62 MB / 0.6227 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.4471, allocations: 7.938 kB / 0.6227 GB, free: 4.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.4475, allocations: 67.95 kB / 0.6228 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/0.4493, allocations: 1.564 MB / 0.6243 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008764/0.458, allocations: 4.129 MB / 0.6283 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03548/0.4935, allocations: 20.25 MB / 0.6481 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.4952, allocations: 334.2 kB / 0.6484 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4953, allocations: 56.83 kB / 0.6485 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005592/0.5009, allocations: 1.936 MB / 0.6504 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.938e-05/0.501, allocations: 109.8 kB / 0.6505 GB, free: 7.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.501, allocations: 0 / 0.6505 GB, free: 7.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001711/0.5027, allocations: 0.8786 MB / 0.6513 GB, free: 6.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.5028, allocations: 130.7 kB / 0.6515 GB, free: 6.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/0.5251, allocations: 10.55 MB / 0.6618 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5251, allocations: 25.7 kB / 0.6618 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00728/0.5324, allocations: 5.961 MB / 0.6676 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.5326, allocations: 87.91 kB / 0.6677 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.5339, allocations: 0.83 MB / 0.6685 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5341, allocations: 305.1 kB / 0.6688 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.5353, allocations: 0.7616 MB / 0.6695 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/0.5395, allocations: 3.995 MB / 0.6734 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006078/0.5456, allocations: 5.201 MB / 0.6785 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.772e-05/0.5457, allocations: 36 kB / 0.6785 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009548/0.5552, allocations: 4.96 MB / 0.6834 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.5553, allocations: 55.94 kB / 0.6834 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/0.5555, allocations: 120 kB / 0.6836 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.5557, allocations: 152 kB / 0.6837 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.5586, allocations: 0.9902 MB / 0.6847 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002328/0.5588, allocations: 227.1 kB / 0.6849 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.5629, allocations: 0.6247 MB / 0.6855 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/0.5635, allocations: 287.9 kB / 0.6858 GB, free: 36 kB / 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.00572/0.5692, allocations: 3.405 MB / 0.6891 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/0.5707, allocations: 0.96 MB / 0.69 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5728, allocations: 1.023 MB / 0.691 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.232e-05/0.5729, allocations: 184.2 kB / 0.6912 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001071/0.573, allocations: 188.2 kB / 0.6914 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.54e-05/0.573, allocations: 180.2 kB / 0.6916 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5835, allocations: 5.106 MB / 0.6965 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.5836, allocations: 105 kB / 0.6966 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.5836, allocations: 108.9 kB / 0.6967 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-05/0.5837, allocations: 176.3 kB / 0.6969 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.5838, allocations: 188.2 kB / 0.6971 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.957e-05/0.5839, allocations: 180.3 kB / 0.6973 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-05/0.5839, allocations: 180.3 kB / 0.6974 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.5856, allocations: 1.199 MB / 0.6986 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/0.588, allocations: 0.87 MB / 0.6995 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/0.5892, allocations: 180.2 kB / 0.6996 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.5905, allocations: 105 kB / 0.6997 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.5906, allocations: 184.2 kB / 0.6999 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.5907, allocations: 101 kB / 0.7 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01477/0.6054, allocations: 7.146 MB / 0.707 GB, free: 10.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6054, allocations: 0 / 0.707 GB, free: 10.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005245/0.6107, allocations: 1.145 MB / 0.7081 GB, free: 8.98 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.002338/0.613, allocations: 1.748 MB / 0.7098 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.6167, allocations: 1.808 MB / 0.7116 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6167, allocations: 0 / 0.7116 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.6167, allocations: 0 / 0.7116 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0139/0.6306, allocations: 3.442 MB / 0.7149 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6621/1.293, allocations: 62.45 MB / 0.7759 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008717/1.301, allocations: 5.28 MB / 0.7811 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006293/1.308, allocations: 2.092 MB / 0.7831 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/1.313, allocations: 4.061 MB / 0.7871 GB, free: 98.62 MB / 0.5607 GB Notification: Performance of SimCode: time 1.703e-06/1.313, allocations: 3.625 kB / 0.7871 GB, free: 98.62 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2539/1.567, allocations: 158 MB / 0.9414 GB, free: 5.59 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.42/41.99, allocations: 7.922 kB / 0.9414 GB, free: 5.582 MB / 0.6232 GB " [Timeout remaining time 618] (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: 45.86590016307309]