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.001183/0.001183, 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.001389/0.001389, 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.366/1.366, 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.2033/0.2033, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 56.19 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01077/0.1378, allocations: 10.39 MB / 479.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.1448, allocations: 3.04 MB / 482.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1467, allocations: 67.81 kB / 482.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.1518, allocations: 2.663 MB / 485.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.1548, allocations: 1.042 MB / 486.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.1557, allocations: 255.6 kB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.1583, allocations: 1.521 MB / 488.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/0.1617, allocations: 2.445 MB / 490.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.1635, allocations: 0.9499 MB / 491.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.168, allocations: 3.312 MB / 495 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.1691, allocations: 184 kB / 495.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.1706, allocations: 271.8 kB / 495.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.1735, allocations: 2.927 MB / 498.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004618/0.1781, allocations: 3.337 MB / 0.49 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009305/0.1874, allocations: 9.215 MB / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1875, allocations: 0 / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1875, allocations: 0 / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000339/0.1878, allocations: 3.938 kB / 0.499 GB, free: 4.473 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.439/0.6268, allocations: 8.771 MB / 0.5075 GB, free: 41.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6269, allocations: 9.625 kB / 0.5076 GB, free: 41.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009299/0.6278, allocations: 0.6171 MB / 0.5082 GB, free: 41.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.6292, allocations: 0.9689 MB / 0.5091 GB, free: 41.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/0.6345, allocations: 3.717 MB / 0.5127 GB, free: 38.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/0.6346, allocations: 134 kB / 0.5129 GB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.6349, allocations: 164.6 kB / 0.513 GB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009449/0.6443, allocations: 6.607 MB / 0.5195 GB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.6444, allocations: 10.53 kB / 0.5195 GB, free: 36.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6446, allocations: 79.12 kB / 0.5196 GB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/0.6463, allocations: 1.564 MB / 0.5211 GB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006686/0.653, allocations: 4.134 MB / 0.5251 GB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.6767, allocations: 20.4 MB / 0.545 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.6781, allocations: 341.8 kB / 0.5454 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.6783, allocations: 67.94 kB / 0.5454 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005037/0.6833, allocations: 3.257 MB / 0.5486 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.6833, allocations: 109.8 kB / 0.5487 GB, free: 8.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.6834, allocations: 0 / 0.5487 GB, free: 8.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.001439/0.6848, allocations: 0.8385 MB / 0.5495 GB, free: 8.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.6849, allocations: 126.7 kB / 0.5497 GB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01829/0.7032, allocations: 10.56 MB / 0.56 GB, free: 13.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.7032, allocations: 25.7 kB / 0.56 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006225/0.7095, allocations: 5.838 MB / 0.5657 GB, free: 7.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.7096, allocations: 87.91 kB / 0.5658 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009449/0.7106, allocations: 0.8213 MB / 0.5666 GB, free: 6.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7107, allocations: 305.1 kB / 0.5669 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.7118, allocations: 0.7577 MB / 0.5676 GB, free: 5.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.715, allocations: 3.999 MB / 0.5715 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.7201, allocations: 5.197 MB / 0.5766 GB, free: 9.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-05/0.7202, allocations: 36 kB / 0.5766 GB, free: 8.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00848/0.7287, allocations: 4.927 MB / 0.5814 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.7288, allocations: 56 kB / 0.5815 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.927e-05/0.7289, allocations: 116 kB / 0.5816 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.7291, allocations: 152 kB / 0.5818 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.7314, allocations: 0.9843 MB / 0.5827 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001789/0.7316, allocations: 231.1 kB / 0.5829 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/0.7365, allocations: 0.5952 MB / 0.5835 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/0.7369, allocations: 288 kB / 0.5838 GB, free: 1.629 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.004789/0.7417, allocations: 3.405 MB / 0.5871 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/0.7434, allocations: 0.9159 MB / 0.588 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.7454, allocations: 1.019 MB / 0.589 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/0.7455, allocations: 180.2 kB / 0.5892 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/0.7456, allocations: 176.3 kB / 0.5893 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.899e-05/0.7456, allocations: 188.2 kB / 0.5895 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007605/0.7532, allocations: 5.135 MB / 0.5945 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.901e-05/0.7533, allocations: 112.2 kB / 0.5946 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.7533, allocations: 101 kB / 0.5947 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.7534, allocations: 176.3 kB / 0.5949 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.7535, allocations: 188.2 kB / 0.5951 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-05/0.7536, allocations: 184.2 kB / 0.5953 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-05/0.7536, allocations: 180.2 kB / 0.5954 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.7552, allocations: 1.159 MB / 0.5966 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/0.7567, allocations: 0.8975 MB / 0.5974 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/0.7573, allocations: 188.2 kB / 0.5976 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.7581, allocations: 108.9 kB / 0.5977 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.7582, allocations: 176.3 kB / 0.5979 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.7582, allocations: 104.9 kB / 0.598 GB, free: 2.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01173/0.77, allocations: 7.146 MB / 0.605 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.77, allocations: 0 / 0.605 GB, free: 11.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005223/0.7753, allocations: 1.132 MB / 0.6061 GB, free: 10.57 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.001585/0.7769, allocations: 1.704 MB / 0.6077 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003177/0.7801, allocations: 1.87 MB / 0.6096 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7801, allocations: 0 / 0.6096 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/0.7801, allocations: 0 / 0.6096 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/0.7944, allocations: 3.441 MB / 0.6129 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3309/1.125, allocations: 94.47 MB / 0.7052 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007457/1.133, allocations: 5.275 MB / 0.7103 GB, free: 177 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006401/1.139, allocations: 2.099 MB / 0.7124 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004256/1.144, allocations: 4.066 MB / 0.7164 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.144, allocations: 0 / 0.7164 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2385/1.382, allocations: 161.3 MB / 0.8739 GB, free: 27.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.8, allocations: 4.969 kB / 0.8739 GB, free: 27.05 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 & 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 4e-05 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.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) Reference file matches