Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.0014, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.47 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01229/0.1502, allocations: 10.37 MB / 490.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007768/0.1581, allocations: 3.071 MB / 493.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.1602, allocations: 67.81 kB / 493.6 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005611/0.1658, allocations: 2.687 MB / 496.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.1692, allocations: 1.023 MB / 497.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1703, allocations: 267.5 kB / 497.6 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.1735, allocations: 1.517 MB / 499.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004015/0.1776, allocations: 2.445 MB / 0.4898 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1798, allocations: 0.9497 MB / 0.4907 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/0.1846, allocations: 3.32 MB / 0.494 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.1857, allocations: 184 kB / 0.4941 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.187, allocations: 267.8 kB / 0.4944 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.1897, allocations: 2.919 MB / 0.4973 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004575/0.1943, allocations: 3.337 MB / 0.5005 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2572/0.4516, allocations: 9.205 MB / 0.5095 GB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4516, allocations: 1.094 kB / 0.5095 GB, free: 21.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4516, allocations: 0 / 0.5095 GB, free: 21.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004583/0.4521, allocations: 0 / 0.5095 GB, free: 21.86 MB / 382.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.01845/0.4705, allocations: 8.773 MB / 0.5181 GB, free: 17.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4706, allocations: 9.812 kB / 0.5181 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001802/0.4724, allocations: 0.6167 MB / 0.5187 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.4744, allocations: 0.9692 MB / 0.5196 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006051/0.4804, allocations: 3.716 MB / 0.5233 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.845e-05/0.4805, allocations: 131.2 kB / 0.5234 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.4808, allocations: 172.3 kB / 0.5235 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00844/0.4893, allocations: 6.597 MB / 0.53 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.4893, allocations: 12.81 kB / 0.53 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.4895, allocations: 78.09 kB / 0.5301 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.491, allocations: 1.559 MB / 0.5316 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006455/0.4974, allocations: 4.131 MB / 0.5356 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.5262, allocations: 20.4 MB / 0.5556 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5277, allocations: 341.9 kB / 0.5559 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5279, allocations: 63.27 kB / 0.5559 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005959/0.5338, allocations: 3.262 MB / 0.5591 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.5339, allocations: 113.8 kB / 0.5592 GB, free: 3.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.5339, allocations: 0 / 0.5592 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.002036/0.536, allocations: 0.8308 MB / 0.56 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.536, allocations: 130.3 kB / 0.5602 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02263/0.5587, allocations: 10.54 MB / 0.5705 GB, free: 8.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5587, allocations: 29.7 kB / 0.5705 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006908/0.5657, allocations: 5.833 MB / 0.5762 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.5659, allocations: 87.91 kB / 0.5763 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.5671, allocations: 0.8174 MB / 0.5771 GB, free: 1.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.5672, allocations: 311 kB / 0.5774 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.5684, allocations: 0.7577 MB / 0.5781 GB, free: 412 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.5716, allocations: 3.996 MB / 0.582 GB, free: 10.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005383/0.577, allocations: 5.207 MB / 0.5871 GB, free: 4.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.5771, allocations: 32 kB / 0.5871 GB, free: 4.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008613/0.5858, allocations: 4.917 MB / 0.5919 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.5859, allocations: 59.75 kB / 0.592 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.586, allocations: 120 kB / 0.5921 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.5862, allocations: 152 kB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.5886, allocations: 0.9824 MB / 0.5932 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.5888, allocations: 227.1 kB / 0.5934 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.5932, allocations: 0.6023 MB / 0.594 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.5935, allocations: 288 kB / 0.5943 GB, free: 13.45 MB / 446.1 MB 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.007255/0.6008, allocations: 3.413 MB / 0.5976 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/0.6032, allocations: 0.9081 MB / 0.5985 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.6071, allocations: 1.019 MB / 0.5995 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/0.6072, allocations: 180.2 kB / 0.5997 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.187e-05/0.6073, allocations: 180.3 kB / 0.5998 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/0.6074, allocations: 181.5 kB / 0.6 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.6249, allocations: 5.138 MB / 0.605 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.871e-05/0.625, allocations: 101 kB / 0.6051 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.6251, allocations: 104.9 kB / 0.6052 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.287e-05/0.6251, allocations: 180.3 kB / 0.6054 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.6252, allocations: 190.7 kB / 0.6056 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.756e-05/0.6253, allocations: 180.3 kB / 0.6058 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/0.6254, allocations: 176.3 kB / 0.6059 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6272, allocations: 1.155 MB / 0.6071 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/0.63, allocations: 0.9013 MB / 0.6079 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001748/0.6317, allocations: 184.9 kB / 0.6081 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/0.634, allocations: 109 kB / 0.6082 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.6341, allocations: 182.4 kB / 0.6084 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.6341, allocations: 101 kB / 0.6085 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01938/0.6535, allocations: 7.142 MB / 0.6155 GB, free: 7.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.31e-07/0.6536, allocations: 4 kB / 0.6155 GB, free: 7.547 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007369/0.6609, allocations: 1.124 MB / 0.6166 GB, free: 6.418 MB / 462.1 MB 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.003015/0.664, allocations: 1.707 MB / 0.6182 GB, free: 4.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00455/0.6686, allocations: 1.87 MB / 0.6201 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6686, allocations: 0 / 0.6201 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.6686, allocations: 4 kB / 0.6201 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02174/0.6903, allocations: 3.445 MB / 0.6234 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.413/1.103, allocations: 94.39 MB / 0.7156 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01374/1.117, allocations: 5.279 MB / 0.7208 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01092/1.128, allocations: 2.096 MB / 0.7228 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007371/1.136, allocations: 4.056 MB / 0.7268 GB, free: 186.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.863e-06/1.136, allocations: 3.938 kB / 0.7268 GB, free: 186.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/1.371, allocations: 161.1 MB / 0.8841 GB, free: 34.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.9, allocations: 4.25 kB / 0.8841 GB, free: 34.71 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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 4e-05 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches