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.000947/0.0009473, allocations: 95.25 kB / 17 MB, free: 6.09 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.001076/0.001076, allocations: 180.3 kB / 17.89 MB, free: 5.672 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.466/1.466, allocations: 223.2 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2937/0.4456, allocations: 50.62 MB / 0.51 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02891/0.4746, allocations: 9.913 MB / 0.5197 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01335/0.488, allocations: 238.7 kB / 0.5199 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009336/0.4974, allocations: 2.53 MB / 0.5224 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02312/0.5205, allocations: 7.318 MB / 0.5296 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.5234, allocations: 286.6 kB / 0.5298 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003668/0.5271, allocations: 2.013 MB / 0.5318 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003933/0.531, allocations: 2.864 MB / 0.5346 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.5323, allocations: 0.6966 MB / 0.5353 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.5358, allocations: 2.726 MB / 0.5379 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.5361, allocations: 76.38 kB / 0.538 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008052/0.5369, allocations: 324.1 kB / 0.5383 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.5388, allocations: 2.972 MB / 0.5412 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.5397, allocations: 1.395 MB / 0.5426 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.5455, allocations: 6.89 MB / 0.5493 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5455, allocations: 0 / 0.5493 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5455, allocations: 0 / 0.5493 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003082/0.5458, allocations: 0 / 0.5493 GB, free: 13.78 MB / 398.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.01128/0.5571, allocations: 7.998 MB / 0.5571 GB, free: 6.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5572, allocations: 9.672 kB / 0.5571 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001072/0.5583, allocations: 0.6111 MB / 0.5577 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.5596, allocations: 0.9733 MB / 0.5587 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.5643, allocations: 3.706 MB / 0.5623 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.5644, allocations: 129.1 kB / 0.5624 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.5646, allocations: 165.1 kB / 0.5626 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007582/0.5722, allocations: 6.593 MB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.5722, allocations: 11.89 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.5724, allocations: 77.75 kB / 0.5691 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/0.574, allocations: 1.568 MB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006361/0.5803, allocations: 4.092 MB / 0.5746 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.6061, allocations: 20.77 MB / 0.5949 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.6075, allocations: 338.2 kB / 0.5952 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.6076, allocations: 60.77 kB / 0.5953 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004426/0.6121, allocations: 3.577 MB / 0.5988 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6121, allocations: 113.8 kB / 0.5989 GB, free: 13.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.6121, allocations: 0 / 0.5989 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008236/0.613, allocations: 0.8385 MB / 0.5997 GB, free: 12.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.613, allocations: 126.7 kB / 0.5998 GB, free: 12.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01347/0.6265, allocations: 10.6 MB / 0.6102 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.6265, allocations: 25.7 kB / 0.6102 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005451/0.632, allocations: 5.846 MB / 0.6159 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.6321, allocations: 87.91 kB / 0.616 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.6323, allocations: 87.94 kB / 0.6161 GB, free: 12.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003064/0.6326, allocations: 491 kB / 0.6165 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.6337, allocations: 0.742 MB / 0.6173 GB, free: 11.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.6375, allocations: 3.979 MB / 0.6212 GB, free: 5.402 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.6395, allocations: 1.623 MB / 0.6227 GB, free: 3.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.292e-05/0.6396, allocations: 36 kB / 0.6228 GB, free: 3.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008403/0.648, allocations: 4.885 MB / 0.6275 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.6481, allocations: 56 kB / 0.6276 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.6482, allocations: 120 kB / 0.6277 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.6483, allocations: 168 kB / 0.6279 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.6505, allocations: 0.9831 MB / 0.6288 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.6507, allocations: 223.2 kB / 0.629 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/0.6549, allocations: 0.681 MB / 0.6297 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.6552, allocations: 284 kB / 0.63 GB, free: 12.35 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005877/0.6611, allocations: 3.41 MB / 0.6333 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/0.6628, allocations: 0.916 MB / 0.6342 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.665, allocations: 1.015 MB / 0.6352 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.917e-05/0.6651, allocations: 184.2 kB / 0.6354 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.017e-05/0.6652, allocations: 180.2 kB / 0.6355 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-05/0.6653, allocations: 180.3 kB / 0.6357 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.679, allocations: 5.142 MB / 0.6407 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000159/0.6793, allocations: 101 kB / 0.6408 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.6793, allocations: 101 kB / 0.6409 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.69e-05/0.6794, allocations: 180.2 kB / 0.6411 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.6795, allocations: 185.7 kB / 0.6413 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-05/0.6796, allocations: 188.2 kB / 0.6415 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001924/0.6798, allocations: 180.3 kB / 0.6416 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.6819, allocations: 1.151 MB / 0.6428 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.6844, allocations: 1.225 MB / 0.6439 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/0.6854, allocations: 192.2 kB / 0.6441 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6866, allocations: 173.3 kB / 0.6443 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6867, allocations: 176.3 kB / 0.6445 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.6868, allocations: 112.9 kB / 0.6446 GB, free: 13.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01678/0.7036, allocations: 7.189 MB / 0.6516 GB, free: 5.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7036, allocations: 0 / 0.6516 GB, free: 5.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006613/0.7103, allocations: 1.152 MB / 0.6527 GB, free: 4.836 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003843/0.7141, allocations: 1.723 MB / 0.6544 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004413/0.7186, allocations: 1.85 MB / 0.6562 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7186, allocations: 0 / 0.6562 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/0.7186, allocations: 4 kB / 0.6562 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/0.7324, allocations: 3.287 MB / 0.6594 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.034/1.766, allocations: 277.4 MB / 0.9303 GB, free: 178.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007225/1.774, allocations: 5.28 MB / 0.9355 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007986/1.782, allocations: 2.241 MB / 0.9377 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006574/1.788, allocations: 4.158 MB / 0.9417 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.343e-06/1.788, allocations: 5.375 kB / 0.9417 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/2.031, allocations: 171.7 MB / 1.109 GB, free: 20.36 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/2.031, allocations: 183 kB / 1.11 GB, free: 20.12 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/9.401, allocations: 0 / 1.11 GB, free: 20.12 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat does not exist to compare? outputFormat=mat