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.001331/0.001331, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001231/0.001231, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2094/0.2094, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3527, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01235/0.3651, allocations: 10.38 MB / 0.5286 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.3735, allocations: 3.031 MB / 0.5315 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.376, allocations: 67.25 kB / 0.5316 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005747/0.3818, allocations: 2.676 MB / 0.5342 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.3855, allocations: 1.033 MB / 0.5352 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3865, allocations: 273.4 kB / 0.5355 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.3901, allocations: 1.518 MB / 0.5369 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004118/0.3942, allocations: 2.442 MB / 0.5393 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.3962, allocations: 0.9223 MB / 0.5402 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.4011, allocations: 3.32 MB / 0.5435 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000861/0.402, allocations: 188 kB / 0.5436 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4033, allocations: 283.8 kB / 0.5439 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002952/0.4063, allocations: 2.973 MB / 0.5468 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004419/0.4107, allocations: 3.341 MB / 0.5501 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.4203, allocations: 9.75 MB / 0.5596 GB, free: 1.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.4204, allocations: 4 kB / 0.5596 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4204, allocations: 0 / 0.5596 GB, free: 1.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002992/0.4207, allocations: 0 / 0.5596 GB, free: 1.762 MB / 414.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.01563/0.4363, allocations: 8.777 MB / 0.5682 GB, free: 8.879 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.4364, allocations: 8.031 kB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.4378, allocations: 0.6196 MB / 0.5688 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.4393, allocations: 0.9666 MB / 0.5697 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/0.4471, allocations: 3.756 MB / 0.5734 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4473, allocations: 131.3 kB / 0.5735 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004997/0.4478, allocations: 163.9 kB / 0.5737 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.458, allocations: 6.612 MB / 0.5801 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.4581, allocations: 11.88 kB / 0.5802 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/0.4584, allocations: 75.94 kB / 0.5802 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00169/0.4601, allocations: 1.561 MB / 0.5818 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007639/0.4678, allocations: 4.133 MB / 0.5858 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.4992, allocations: 20.23 MB / 0.6055 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.5009, allocations: 346.1 kB / 0.6059 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.5011, allocations: 60.83 kB / 0.6059 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005469/0.5066, allocations: 3.268 MB / 0.6091 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.5067, allocations: 105.8 kB / 0.6092 GB, free: 13.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/0.5067, allocations: 0 / 0.6092 GB, free: 13.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001436/0.5081, allocations: 0.8308 MB / 0.61 GB, free: 13.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.5082, allocations: 142.6 kB / 0.6102 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/0.5301, allocations: 10.55 MB / 0.6205 GB, free: 2.406 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5302, allocations: 25.7 kB / 0.6205 GB, free: 2.375 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00773/0.5379, allocations: 5.827 MB / 0.6262 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.5382, allocations: 95.89 kB / 0.6263 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.5396, allocations: 0.8096 MB / 0.6271 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5398, allocations: 313 kB / 0.6274 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.541, allocations: 0.7538 MB / 0.6281 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.5445, allocations: 4.007 MB / 0.632 GB, free: 4.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005265/0.5498, allocations: 5.201 MB / 0.6371 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.822e-05/0.5499, allocations: 32 kB / 0.6371 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008656/0.5585, allocations: 4.919 MB / 0.6419 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.5587, allocations: 59.98 kB / 0.642 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.5589, allocations: 116.8 kB / 0.6421 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.559, allocations: 152 kB / 0.6422 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.5617, allocations: 0.9863 MB / 0.6432 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001768/0.5619, allocations: 223.2 kB / 0.6434 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/0.5658, allocations: 0.603 MB / 0.644 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.5662, allocations: 292 kB / 0.6443 GB, free: 6.582 MB / 0.4981 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.004928/0.5712, allocations: 3.405 MB / 0.6476 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.5724, allocations: 0.9082 MB / 0.6485 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.5742, allocations: 1.019 MB / 0.6495 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/0.5743, allocations: 184.3 kB / 0.6497 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.839e-05/0.5744, allocations: 188.2 kB / 0.6499 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/0.5744, allocations: 180.3 kB / 0.65 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/0.583, allocations: 5.131 MB / 0.655 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/0.5831, allocations: 104.9 kB / 0.6551 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.5831, allocations: 105 kB / 0.6552 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-05/0.5832, allocations: 180.2 kB / 0.6554 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.927e-05/0.5832, allocations: 184.3 kB / 0.6556 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.085e-05/0.5833, allocations: 180.2 kB / 0.6558 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.95e-05/0.5834, allocations: 188.2 kB / 0.6559 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.5846, allocations: 1.151 MB / 0.6571 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.5861, allocations: 0.9091 MB / 0.6579 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008357/0.5869, allocations: 180.2 kB / 0.6581 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.588, allocations: 112.9 kB / 0.6582 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.209e-05/0.5881, allocations: 180.3 kB / 0.6584 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.5882, allocations: 104.9 kB / 0.6585 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0125/0.6007, allocations: 7.146 MB / 0.6655 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6007, allocations: 0 / 0.6655 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004847/0.6056, allocations: 1.136 MB / 0.6666 GB, free: 15.52 MB / 0.5294 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.001968/0.6076, allocations: 1.696 MB / 0.6682 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003365/0.611, allocations: 1.873 MB / 0.6701 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.611, allocations: 0 / 0.6701 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.611, allocations: 0 / 0.6701 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01363/0.6246, allocations: 3.445 MB / 0.6734 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6057/1.23, allocations: 62.15 MB / 0.7341 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007378/1.238, allocations: 5.278 MB / 0.7393 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006601/1.244, allocations: 2.097 MB / 0.7413 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0055/1.25, allocations: 4.06 MB / 0.7453 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of SimCode: time 2.164e-06/1.25, allocations: 0 / 0.7453 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2061/1.456, allocations: 157.2 MB / 0.8988 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.5/37.96, allocations: 3.984 kB / 0.8988 GB, free: 14.76 MB / 0.5763 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