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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008226/0.0008225, allocations: 91.55 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1878/0.1878, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.796e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 63.24 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4609, allocations: 101.2 MB / 0.6103 GB, free: 8.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4612, allocations: 80.09 kB / 0.6103 GB, free: 8.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1693/0.6305, allocations: 80.16 MB / 0.6886 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6305, allocations: 4 kB / 0.6886 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001112/0.6316, allocations: 139.9 kB / 0.6888 GB, free: 0.6914 MB / 474.7 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.01428/0.6459, allocations: 6.535 MB / 0.6951 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.646, allocations: 15.97 kB / 0.6952 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002305/0.6483, allocations: 0.6508 MB / 0.6958 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.6522, allocations: 1.127 MB / 0.6969 GB, free: 8.262 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.6623, allocations: 3.895 MB / 0.7007 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.6625, allocations: 193 kB / 0.7009 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.6636, allocations: 247.9 kB / 0.7011 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.6765, allocations: 6.355 MB / 0.7073 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.778e-05/0.6767, allocations: 15.86 kB / 0.7073 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005593/0.6773, allocations: 108 kB / 0.7074 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/0.6784, allocations: 1.012 MB / 0.7084 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007875/0.6863, allocations: 3.912 MB / 0.7123 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/0.7165, allocations: 20.04 MB / 0.7318 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.718, allocations: 338.2 kB / 0.7321 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7181, allocations: 60.83 kB / 0.7322 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004502/0.7226, allocations: 3.261 MB / 0.7354 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.7227, allocations: 109.8 kB / 0.7355 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.285e-06/0.7227, allocations: 0 / 0.7355 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0008104/0.7235, allocations: 0.8424 MB / 0.7363 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.7236, allocations: 134.6 kB / 0.7364 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/0.7374, allocations: 9.175 MB / 0.7454 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.7375, allocations: 25.7 kB / 0.7454 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.276/1.013, allocations: 5.824 MB / 0.7511 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/1.014, allocations: 93.7 kB / 0.7512 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/1.014, allocations: 86.06 kB / 0.7513 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.014, allocations: 479.9 kB / 0.7517 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.015, allocations: 0.7193 MB / 0.7525 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/1.017, allocations: 3.941 MB / 0.7563 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/1.02, allocations: 1.627 MB / 0.7579 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.504e-05/1.02, allocations: 33 kB / 0.7579 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007071/1.027, allocations: 4.841 MB / 0.7626 GB, free: 127 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/1.027, allocations: 55.03 kB / 0.7627 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/1.027, allocations: 123.3 kB / 0.7628 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/1.027, allocations: 168 kB / 0.763 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/1.029, allocations: 0.9804 MB / 0.7639 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002148/1.03, allocations: 232.2 kB / 0.7642 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/1.033, allocations: 0.6075 MB / 0.7647 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003291/1.033, allocations: 285.1 kB / 0.765 GB, free: 126.7 MB / 0.5261 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 () * 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.0004238/1.034, allocations: 0.5348 MB / 0.7655 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000819/1.035, allocations: 0.9056 MB / 0.7664 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/1.037, allocations: 1.022 MB / 0.7674 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.037, allocations: 180.9 kB / 0.7676 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.037, allocations: 178.8 kB / 0.7678 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/1.037, allocations: 184.8 kB / 0.7679 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/1.046, allocations: 5.131 MB / 0.773 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/1.046, allocations: 105.2 kB / 0.7731 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/1.046, allocations: 105.5 kB / 0.7732 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/1.046, allocations: 179.5 kB / 0.7733 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.046, allocations: 185.7 kB / 0.7735 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.862e-05/1.046, allocations: 177 kB / 0.7737 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-05/1.046, allocations: 181 kB / 0.7738 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.047, allocations: 1.169 MB / 0.775 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.049, allocations: 0.9046 MB / 0.7759 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.049, allocations: 177.1 kB / 0.776 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/1.05, allocations: 101.8 kB / 0.7761 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/1.05, allocations: 191.3 kB / 0.7763 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/1.05, allocations: 105 kB / 0.7764 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009252/1.059, allocations: 7.02 MB / 0.7833 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.31e-07/1.059, allocations: 0 / 0.7833 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004321/1.063, allocations: 1.132 MB / 0.7844 GB, free: 121 MB / 0.5261 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 () * 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.001064/1.064, allocations: 1.704 MB / 0.786 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002788/1.067, allocations: 1.823 MB / 0.7878 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.067, allocations: 0 / 0.7878 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/1.067, allocations: 0 / 0.7878 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01207/1.079, allocations: 3.286 MB / 0.791 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/1.11, allocations: 14.99 MB / 0.8057 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008181/1.118, allocations: 5.456 MB / 0.811 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006896/1.125, allocations: 2.101 MB / 0.8131 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004624/1.13, allocations: 4.059 MB / 0.817 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/1.13, allocations: 0 / 0.817 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/1.614, allocations: 167.3 MB / 0.9804 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/1.614, allocations: 157.4 kB / 0.9805 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.108/7.722, allocations: 5.672 kB / 0.9805 GB, free: 121.9 MB / 0.5417 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