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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 60.36 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09425, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01088/0.1052, allocations: 10.38 MB / 479.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.1115, allocations: 3.036 MB / 482.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.113, allocations: 63.81 kB / 482.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.118, allocations: 2.667 MB / 485.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.1205, allocations: 1.046 MB / 486.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.1212, allocations: 263.5 kB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.1232, allocations: 1.521 MB / 488.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.126, allocations: 2.449 MB / 490.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1274, allocations: 0.9382 MB / 491.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/0.1313, allocations: 3.312 MB / 495 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005861/0.1319, allocations: 188 kB / 495.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008673/0.1328, allocations: 275.8 kB / 495.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.135, allocations: 2.919 MB / 498.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.1385, allocations: 3.337 MB / 0.49 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007717/0.1462, allocations: 9.218 MB / 0.499 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1463, allocations: 3.938 kB / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1463, allocations: 0 / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.1466, allocations: 0 / 0.499 GB, free: 4.477 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.4061/0.5527, allocations: 8.774 MB / 0.5075 GB, free: 41.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.5527, allocations: 9.219 kB / 0.5076 GB, free: 41.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/0.5539, allocations: 0.6176 MB / 0.5082 GB, free: 41.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.5555, allocations: 0.9691 MB / 0.5091 GB, free: 41.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/0.5614, allocations: 3.716 MB / 0.5127 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.871e-05/0.5615, allocations: 135.1 kB / 0.5129 GB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.5617, allocations: 164 kB / 0.513 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/0.5708, allocations: 6.604 MB / 0.5195 GB, free: 36.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.5709, allocations: 10.59 kB / 0.5195 GB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.571, allocations: 78.19 kB / 0.5196 GB, free: 36.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.5727, allocations: 1.559 MB / 0.5211 GB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007137/0.5798, allocations: 4.139 MB / 0.5251 GB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.6029, allocations: 20.41 MB / 0.545 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.6044, allocations: 334.2 kB / 0.5454 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.6045, allocations: 59.97 kB / 0.5454 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004327/0.6089, allocations: 3.261 MB / 0.5486 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6089, allocations: 113.9 kB / 0.5487 GB, free: 8.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.6089, allocations: 0 / 0.5487 GB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008631/0.6098, allocations: 0.8424 MB / 0.5495 GB, free: 8.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.6098, allocations: 126.7 kB / 0.5497 GB, free: 7.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/0.6226, allocations: 10.55 MB / 0.56 GB, free: 13.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6227, allocations: 25.7 kB / 0.56 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005421/0.6281, allocations: 5.842 MB / 0.5657 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.6283, allocations: 91 kB / 0.5658 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000987/0.6293, allocations: 0.8213 MB / 0.5666 GB, free: 6.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6294, allocations: 305.1 kB / 0.5669 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6304, allocations: 0.7577 MB / 0.5676 GB, free: 5.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.6338, allocations: 4 MB / 0.5715 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/0.6384, allocations: 5.201 MB / 0.5766 GB, free: 9.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/0.6385, allocations: 36 kB / 0.5766 GB, free: 9 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007472/0.646, allocations: 4.924 MB / 0.5814 GB, free: 4.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.6461, allocations: 56 kB / 0.5815 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.003e-05/0.6461, allocations: 116 kB / 0.5816 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001242/0.6463, allocations: 152 kB / 0.5817 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.6485, allocations: 0.9902 MB / 0.5827 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001476/0.6486, allocations: 227.6 kB / 0.5829 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.6521, allocations: 0.5955 MB / 0.5835 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.6524, allocations: 288 kB / 0.5838 GB, free: 1.648 MB / 414.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.004057/0.6564, allocations: 3.409 MB / 0.5871 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/0.6576, allocations: 0.9159 MB / 0.588 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.659, allocations: 1.019 MB / 0.589 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/0.659, allocations: 181.1 kB / 0.5892 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-05/0.6591, allocations: 176.3 kB / 0.5893 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.241e-05/0.6591, allocations: 184.2 kB / 0.5895 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.665, allocations: 5.139 MB / 0.5945 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.665, allocations: 105 kB / 0.5946 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.6651, allocations: 108.9 kB / 0.5947 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.723e-05/0.6651, allocations: 177.3 kB / 0.5949 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.6652, allocations: 188.2 kB / 0.5951 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.287e-05/0.6652, allocations: 176.3 kB / 0.5953 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.6653, allocations: 180.3 kB / 0.5954 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6664, allocations: 1.159 MB / 0.5966 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.6676, allocations: 0.9013 MB / 0.5974 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005061/0.6681, allocations: 180.3 kB / 0.5976 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.6689, allocations: 103.4 kB / 0.5977 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.669, allocations: 188.1 kB / 0.5979 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.669, allocations: 104.9 kB / 0.598 GB, free: 2.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01023/0.6793, allocations: 7.15 MB / 0.605 GB, free: 11.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6793, allocations: 0 / 0.605 GB, free: 11.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007505/0.6868, allocations: 1.132 MB / 0.6061 GB, free: 10.59 MB / 446.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.002806/0.6897, allocations: 1.704 MB / 0.6077 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004686/0.6944, allocations: 1.864 MB / 0.6096 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6944, allocations: 4.062 kB / 0.6096 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.6944, allocations: 0 / 0.6096 GB, free: 7.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02435/0.7188, allocations: 3.447 MB / 0.6129 GB, free: 3.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/1.048, allocations: 94.47 MB / 0.7052 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007712/1.056, allocations: 5.277 MB / 0.7103 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007143/1.063, allocations: 2.093 MB / 0.7124 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004843/1.068, allocations: 4.064 MB / 0.7164 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/1.068, allocations: 1.25 kB / 0.7164 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/1.272, allocations: 161.3 MB / 0.8739 GB, free: 26.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.41, allocations: 1.031 kB / 0.8739 GB, free: 26.92 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/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) Reference file matches