Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001848/0.001848, allocations: 113.1 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.00216/0.00216, allocations: 214.4 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01395/0.3749, allocations: 10.43 MB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008102/0.383, allocations: 3.108 MB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3848, allocations: 79.62 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005834/0.3906, allocations: 2.726 MB / 0.573 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3937, allocations: 1.124 MB / 0.5741 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.3946, allocations: 263.5 kB / 0.5743 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.3971, allocations: 1.513 MB / 0.5758 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.3996, allocations: 1.917 MB / 0.5777 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.4011, allocations: 0.9265 MB / 0.5786 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.4061, allocations: 3.435 MB / 0.5819 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005247/0.4067, allocations: 191.9 kB / 0.5821 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.4074, allocations: 283.8 kB / 0.5824 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002603/0.41, allocations: 3.009 MB / 0.5853 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.4136, allocations: 3.333 MB / 0.5886 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4245, allocations: 9.87 MB / 0.5982 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.4245, allocations: 4 kB / 0.5982 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4245, allocations: 0 / 0.5982 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002716/0.4248, allocations: 0 / 0.5982 GB, free: 13.38 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.01495/0.4398, allocations: 9.05 MB / 0.6071 GB, free: 4.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4398, allocations: 12.03 kB / 0.6071 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001107/0.4409, allocations: 0.6157 MB / 0.6077 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.4425, allocations: 1.024 MB / 0.6087 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007098/0.4496, allocations: 3.732 MB / 0.6123 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.4498, allocations: 135.1 kB / 0.6124 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.45, allocations: 171.9 kB / 0.6126 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00994/0.46, allocations: 6.608 MB / 0.6191 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.46, allocations: 11.92 kB / 0.6191 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.4602, allocations: 75.94 kB / 0.6192 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.4621, allocations: 1.565 MB / 0.6207 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008126/0.4703, allocations: 4.133 MB / 0.6247 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.5022, allocations: 20.24 MB / 0.6445 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.5038, allocations: 338.2 kB / 0.6448 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.504, allocations: 56.83 kB / 0.6449 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004834/0.5088, allocations: 1.928 MB / 0.6467 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/0.5089, allocations: 105.9 kB / 0.6468 GB, free: 10.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.5089, allocations: 3.938 kB / 0.6468 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001181/0.51, allocations: 0.8903 MB / 0.6477 GB, free: 10 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.5101, allocations: 130.7 kB / 0.6478 GB, free: 9.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01844/0.5286, allocations: 10.55 MB / 0.6581 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5286, allocations: 25.7 kB / 0.6582 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007521/0.5361, allocations: 5.95 MB / 0.664 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.5363, allocations: 95.91 kB / 0.6641 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.5376, allocations: 0.8222 MB / 0.6649 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5377, allocations: 309.1 kB / 0.6652 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.539, allocations: 0.7655 MB / 0.6659 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/0.5433, allocations: 3.995 MB / 0.6698 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006425/0.5497, allocations: 5.193 MB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.879e-05/0.5498, allocations: 32 kB / 0.6749 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009754/0.5595, allocations: 4.968 MB / 0.6798 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/0.5596, allocations: 56 kB / 0.6798 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.5598, allocations: 120.1 kB / 0.6799 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.5599, allocations: 155.9 kB / 0.6801 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.5627, allocations: 0.9824 MB / 0.681 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.5629, allocations: 231.1 kB / 0.6813 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/0.5668, allocations: 0.6203 MB / 0.6819 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.5673, allocations: 291.9 kB / 0.6822 GB, free: 3.367 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.005738/0.573, allocations: 3.401 MB / 0.6855 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/0.5745, allocations: 0.9599 MB / 0.6864 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5765, allocations: 1.023 MB / 0.6874 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.221e-05/0.5765, allocations: 192.2 kB / 0.6876 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-05/0.5766, allocations: 180.3 kB / 0.6878 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.46e-05/0.5767, allocations: 180.3 kB / 0.6879 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/0.5853, allocations: 5.106 MB / 0.6929 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/0.5853, allocations: 101 kB / 0.693 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.5854, allocations: 104.9 kB / 0.6931 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-05/0.5855, allocations: 184.3 kB / 0.6933 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/0.5855, allocations: 180.3 kB / 0.6935 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.549e-05/0.5856, allocations: 180.2 kB / 0.6936 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-05/0.5857, allocations: 180.2 kB / 0.6938 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.5872, allocations: 1.203 MB / 0.695 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.589, allocations: 0.8661 MB / 0.6958 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007084/0.5897, allocations: 184.2 kB / 0.696 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.5906, allocations: 105 kB / 0.6961 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.5907, allocations: 184.2 kB / 0.6963 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.5908, allocations: 105 kB / 0.6964 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01368/0.6044, allocations: 7.146 MB / 0.7034 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6044, allocations: 0 / 0.7034 GB, free: 13.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004918/0.6093, allocations: 1.149 MB / 0.7045 GB, free: 12.31 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.002498/0.6118, allocations: 1.752 MB / 0.7062 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003959/0.6158, allocations: 1.8 MB / 0.708 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6158, allocations: 0 / 0.708 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.6158, allocations: 0 / 0.708 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/0.6301, allocations: 3.452 MB / 0.7113 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6635/1.294, allocations: 62.45 MB / 0.7723 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00905/1.303, allocations: 5.275 MB / 0.7775 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006619/1.309, allocations: 2.101 MB / 0.7795 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/1.315, allocations: 4.057 MB / 0.7835 GB, free: 101.9 MB / 0.5607 GB Notification: Performance of SimCode: time 2.404e-06/1.315, allocations: 4 kB / 0.7835 GB, free: 101.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/1.568, allocations: 158 MB / 0.9378 GB, free: 9.047 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.25/40.82, allocations: 3.938 kB / 0.9378 GB, free: 9.043 MB / 0.6232 GB " [Timeout remaining time 619] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 44.05631502599863]