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.0008603/0.0008606, allocations: 97.66 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008763/0.0008768, allocations: 195 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 63.48 MB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3267/0.4562, allocations: 50.64 MB / 0.5198 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.024/0.4803, allocations: 9.963 MB / 0.5295 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.4929, allocations: 239.7 kB / 0.5298 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009052/0.502, allocations: 2.532 MB / 0.5322 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02265/0.5247, allocations: 7.32 MB / 0.5394 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5279, allocations: 278.3 kB / 0.5397 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003294/0.5312, allocations: 2.021 MB / 0.5416 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004132/0.5353, allocations: 2.866 MB / 0.5444 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.5366, allocations: 0.7042 MB / 0.5451 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.5402, allocations: 2.72 MB / 0.5478 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.5406, allocations: 75.91 kB / 0.5478 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.5415, allocations: 321.2 kB / 0.5481 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.5434, allocations: 2.982 MB / 0.5511 GB, free: 184 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.5446, allocations: 1.395 MB / 0.5524 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006147/0.5507, allocations: 6.879 MB / 0.5591 GB, free: 8.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5508, allocations: 0 / 0.5591 GB, free: 8.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5508, allocations: 0 / 0.5591 GB, free: 8.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003029/0.5511, allocations: 0 / 0.5591 GB, free: 8.215 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.01412/0.5652, allocations: 8 MB / 0.5669 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5653, allocations: 8.031 kB / 0.567 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001736/0.567, allocations: 0.6182 MB / 0.5676 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.5689, allocations: 0.9704 MB / 0.5685 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007377/0.5763, allocations: 3.711 MB / 0.5721 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5765, allocations: 128.7 kB / 0.5723 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.5767, allocations: 167.8 kB / 0.5724 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.5872, allocations: 6.594 MB / 0.5789 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.5873, allocations: 7.938 kB / 0.5789 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.5875, allocations: 73.36 kB / 0.5789 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.5898, allocations: 1.564 MB / 0.5805 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009465/0.5993, allocations: 4.095 MB / 0.5845 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.6348, allocations: 20.77 MB / 0.6047 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.6363, allocations: 338.2 kB / 0.6051 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.6365, allocations: 60.81 kB / 0.6051 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005448/0.6419, allocations: 3.569 MB / 0.6086 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.642, allocations: 105.8 kB / 0.6087 GB, free: 4.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.642, allocations: 4 kB / 0.6087 GB, free: 4.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001237/0.6433, allocations: 0.8385 MB / 0.6095 GB, free: 3.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.6434, allocations: 134.6 kB / 0.6097 GB, free: 3.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/0.662, allocations: 10.59 MB / 0.62 GB, free: 9.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6621, allocations: 25.7 kB / 0.62 GB, free: 9.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00586/0.668, allocations: 5.842 MB / 0.6257 GB, free: 3.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.6682, allocations: 91.91 kB / 0.6258 GB, free: 3.301 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.6684, allocations: 84 kB / 0.6259 GB, free: 3.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.6687, allocations: 487 kB / 0.6264 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.6698, allocations: 0.7459 MB / 0.6271 GB, free: 1.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.6731, allocations: 3.979 MB / 0.631 GB, free: 12.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.6753, allocations: 1.619 MB / 0.6326 GB, free: 10.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.844e-05/0.6754, allocations: 36 kB / 0.6326 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007658/0.6831, allocations: 4.881 MB / 0.6374 GB, free: 5.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.6832, allocations: 56 kB / 0.6374 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.6833, allocations: 120 kB / 0.6375 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.6835, allocations: 168 kB / 0.6377 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.6858, allocations: 0.987 MB / 0.6386 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.686, allocations: 223.2 kB / 0.6389 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.6898, allocations: 0.681 MB / 0.6395 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/0.6901, allocations: 288 kB / 0.6398 GB, free: 3.254 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.005964/0.6961, allocations: 3.405 MB / 0.6431 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/0.6981, allocations: 0.908 MB / 0.644 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.7001, allocations: 1.019 MB / 0.645 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-05/0.7002, allocations: 180.3 kB / 0.6452 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.488e-05/0.7003, allocations: 180.2 kB / 0.6454 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.585e-05/0.7003, allocations: 180.3 kB / 0.6455 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00975/0.7101, allocations: 5.146 MB / 0.6506 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.7102, allocations: 104.9 kB / 0.6507 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.7103, allocations: 105 kB / 0.6508 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.788e-05/0.7103, allocations: 180.2 kB / 0.6509 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.7104, allocations: 180.3 kB / 0.6511 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002344/0.7107, allocations: 188.2 kB / 0.6513 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-05/0.7108, allocations: 176.3 kB / 0.6514 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.7129, allocations: 1.163 MB / 0.6526 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/0.715, allocations: 1.221 MB / 0.6538 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006301/0.7157, allocations: 188.2 kB / 0.654 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7168, allocations: 177 kB / 0.6541 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.7169, allocations: 176.3 kB / 0.6543 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.7169, allocations: 104.9 kB / 0.6544 GB, free: 4.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01364/0.7306, allocations: 7.189 MB / 0.6614 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7306, allocations: 3.938 kB / 0.6614 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005076/0.7357, allocations: 1.147 MB / 0.6625 GB, free: 11.75 MB / 0.4981 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 (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.002532/0.7382, allocations: 1.72 MB / 0.6642 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003218/0.7415, allocations: 1.854 MB / 0.666 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7415, allocations: 0 / 0.666 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.7415, allocations: 0 / 0.666 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01216/0.7537, allocations: 3.286 MB / 0.6692 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.087/1.841, allocations: 277.4 MB / 0.9401 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008067/1.849, allocations: 5.282 MB / 0.9453 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007486/1.856, allocations: 2.24 MB / 0.9475 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006168/1.862, allocations: 4.155 MB / 0.9515 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.024e-06/1.862, allocations: 0 / 0.9515 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2198/2.082, allocations: 171.6 MB / 1.119 GB, free: 35.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/2.082, allocations: 187.8 kB / 1.119 GB, free: 35.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/9.249, allocations: 0 / 1.119 GB, free: 35.48 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat does not exist to compare? outputFormat=mat