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.0009338/0.000933, allocations: 102 kB / 16.99 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.0009618/0.0009618, allocations: 199.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002655, allocations: 11.98 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 63.46 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2958/0.4356, allocations: 47.93 MB / 0.517 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02391/0.4595, allocations: 10.44 MB / 0.5272 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01419/0.4738, allocations: 246.9 kB / 0.5275 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008953/0.4828, allocations: 2.423 MB / 0.5298 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02372/0.5065, allocations: 7.044 MB / 0.5367 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.5089, allocations: 284.6 kB / 0.537 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.511, allocations: 0.8978 MB / 0.5379 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.5143, allocations: 2.866 MB / 0.5407 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000905/0.5152, allocations: 0.5436 MB / 0.5412 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.5179, allocations: 2.129 MB / 0.5433 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.5181, allocations: 71.28 kB / 0.5433 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000685/0.5188, allocations: 314.3 kB / 0.5436 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.5205, allocations: 2.895 MB / 0.5465 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008855/0.5214, allocations: 1.392 MB / 0.5478 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006197/0.5276, allocations: 6.88 MB / 0.5545 GB, free: 12.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5276, allocations: 4 kB / 0.5545 GB, free: 12.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5276, allocations: 0 / 0.5545 GB, free: 12.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004871/0.5281, allocations: 0 / 0.5545 GB, free: 12.35 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.01575/0.5439, allocations: 7.997 MB / 0.5624 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.544, allocations: 12.03 kB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001693/0.5457, allocations: 0.6154 MB / 0.563 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.548, allocations: 0.9666 MB / 0.5639 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009798/0.5578, allocations: 3.702 MB / 0.5675 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.558, allocations: 131.3 kB / 0.5677 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.5583, allocations: 171.9 kB / 0.5678 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.5709, allocations: 6.632 MB / 0.5743 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.5709, allocations: 3.938 kB / 0.5743 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.5712, allocations: 79.94 kB / 0.5744 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/0.5734, allocations: 1.564 MB / 0.5759 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.5844, allocations: 4.144 MB / 0.5799 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0329/0.6174, allocations: 20.78 MB / 0.6002 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.619, allocations: 336.5 kB / 0.6006 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006422/0.6255, allocations: 3.596 MB / 0.6041 GB, free: 8.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.6256, allocations: 105.8 kB / 0.6042 GB, free: 8.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.6256, allocations: 0 / 0.6042 GB, free: 8.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001755/0.6273, allocations: 0.8346 MB / 0.605 GB, free: 7.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.6274, allocations: 130.7 kB / 0.6051 GB, free: 7.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0205/0.6479, allocations: 10.6 MB / 0.6155 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.648, allocations: 25.7 kB / 0.6155 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005363/0.6534, allocations: 5.842 MB / 0.6212 GB, free: 7.254 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6535, allocations: 91.91 kB / 0.6213 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6537, allocations: 84 kB / 0.6214 GB, free: 7.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.654, allocations: 483 kB / 0.6218 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.655, allocations: 0.7459 MB / 0.6226 GB, free: 5.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/0.6582, allocations: 3.964 MB / 0.6264 GB, free: 204 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.6602, allocations: 1.619 MB / 0.628 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-05/0.6603, allocations: 32 kB / 0.628 GB, free: 14.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008637/0.6689, allocations: 4.889 MB / 0.6328 GB, free: 9.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.669, allocations: 56 kB / 0.6329 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.6692, allocations: 116 kB / 0.633 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.6693, allocations: 168 kB / 0.6331 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.6716, allocations: 0.9863 MB / 0.6341 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/0.6718, allocations: 227.1 kB / 0.6343 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/0.6759, allocations: 0.6811 MB / 0.635 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/0.6763, allocations: 288 kB / 0.6353 GB, free: 7.133 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.005081/0.6814, allocations: 3.397 MB / 0.6386 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/0.6828, allocations: 0.9082 MB / 0.6395 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.6846, allocations: 1.023 MB / 0.6405 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.6847, allocations: 176.3 kB / 0.6406 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.484e-05/0.6848, allocations: 180.2 kB / 0.6408 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/0.6849, allocations: 180.3 kB / 0.641 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.695, allocations: 5.139 MB / 0.646 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.884e-05/0.6951, allocations: 105 kB / 0.6461 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.6951, allocations: 105 kB / 0.6462 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.6952, allocations: 184.2 kB / 0.6464 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.6953, allocations: 176.3 kB / 0.6465 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.164e-05/0.6954, allocations: 188.2 kB / 0.6467 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.163e-05/0.6955, allocations: 176.3 kB / 0.6469 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.6975, allocations: 1.163 MB / 0.648 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/0.6998, allocations: 1.221 MB / 0.6492 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007288/0.7006, allocations: 180.2 kB / 0.6494 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.7018, allocations: 173 kB / 0.6495 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.7019, allocations: 184.2 kB / 0.6497 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.702, allocations: 109.2 kB / 0.6498 GB, free: 7.926 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01299/0.715, allocations: 7.189 MB / 0.6568 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.715, allocations: 0 / 0.6568 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005341/0.7204, allocations: 1.147 MB / 0.658 GB, free: 15.63 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.002073/0.7225, allocations: 1.726 MB / 0.6596 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.7256, allocations: 1.855 MB / 0.6615 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7257, allocations: 320 / 0.6615 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.7257, allocations: 7.938 kB / 0.6615 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/0.7389, allocations: 3.281 MB / 0.6647 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7404/1.479, allocations: 163.6 MB / 0.8244 GB, free: 63.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006842/1.486, allocations: 5.454 MB / 0.8297 GB, free: 60.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006613/1.493, allocations: 2.251 MB / 0.8319 GB, free: 58.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005232/1.498, allocations: 4.158 MB / 0.836 GB, free: 57.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.874e-06/1.498, allocations: 0 / 0.836 GB, free: 57.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4824/1.981, allocations: 171.6 MB / 1.004 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/1.981, allocations: 189.7 kB / 1.004 GB, free: 182 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/8.773, allocations: 3.234 kB / 1.004 GB, free: 182 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