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.00289/0.00289, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009777/0.0009777, allocations: 102.1 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4515/0.4515, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8.219 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4681, allocations: 63.24 MB / 0.5193 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.6182, allocations: 101.3 MB / 0.6181 GB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6185, allocations: 79.94 kB / 0.6182 GB, free: 4.238 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1844/0.8029, allocations: 80.17 MB / 0.6965 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.027e-06/0.803, allocations: 0 / 0.6965 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001207/0.8042, allocations: 136 kB / 0.6966 GB, free: 3.688 MB / 0.4948 GB 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.3604/1.165, allocations: 7.997 MB / 0.7045 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 9.997e-05/1.165, allocations: 9.094 kB / 0.7045 GB, free: 88.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003744/1.169, allocations: 0.6505 MB / 0.7051 GB, free: 88.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/1.173, allocations: 1.131 MB / 0.7062 GB, free: 87.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.187, allocations: 3.941 MB / 0.71 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/1.187, allocations: 185.7 kB / 0.7102 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/1.189, allocations: 247.5 kB / 0.7105 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/1.204, allocations: 6.408 MB / 0.7167 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/1.204, allocations: 14.59 kB / 0.7167 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008/1.205, allocations: 108.6 kB / 0.7168 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/1.206, allocations: 1.013 MB / 0.7178 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008268/1.214, allocations: 4 MB / 0.7217 GB, free: 85.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/1.253, allocations: 20.04 MB / 0.7413 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/1.255, allocations: 336.3 kB / 0.7416 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008002/1.263, allocations: 3.262 MB / 0.7448 GB, free: 75.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/1.263, allocations: 110.8 kB / 0.7449 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 4.719e-06/1.263, allocations: 0 / 0.7449 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.002733/1.266, allocations: 0.8404 MB / 0.7457 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/1.266, allocations: 131.1 kB / 0.7459 GB, free: 74.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02779/1.294, allocations: 9.273 MB / 0.7549 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/1.294, allocations: 25.7 kB / 0.7549 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005979/1.3, allocations: 5.829 MB / 0.7606 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.3, allocations: 98.95 kB / 0.7607 GB, free: 67.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.3, allocations: 84.25 kB / 0.7608 GB, free: 67.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.301, allocations: 476.4 kB / 0.7613 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/1.302, allocations: 0.7498 MB / 0.762 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/1.304, allocations: 3.969 MB / 0.7659 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.306, allocations: 1.626 MB / 0.7675 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/1.306, allocations: 34.34 kB / 0.7675 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007852/1.314, allocations: 4.881 MB / 0.7723 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/1.314, allocations: 67.73 kB / 0.7723 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.314, allocations: 117.5 kB / 0.7724 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/1.314, allocations: 167.2 kB / 0.7726 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/1.316, allocations: 0.9785 MB / 0.7736 GB, free: 59.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001453/1.316, allocations: 229.7 kB / 0.7738 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/1.322, allocations: 0.6027 MB / 0.7744 GB, free: 58.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004117/1.322, allocations: 283.5 kB / 0.7746 GB, free: 58.86 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006495/1.329, allocations: 3.406 MB / 0.778 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/1.331, allocations: 0.9052 MB / 0.7788 GB, free: 56.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/1.334, allocations: 1.032 MB / 0.7799 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.334, allocations: 181.1 kB / 0.78 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/1.334, allocations: 185.7 kB / 0.7802 GB, free: 56.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/1.334, allocations: 180.2 kB / 0.7804 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/1.346, allocations: 5.128 MB / 0.7854 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/1.346, allocations: 104.9 kB / 0.7855 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.346, allocations: 107.1 kB / 0.7856 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.987e-05/1.346, allocations: 183.1 kB / 0.7858 GB, free: 53.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/1.346, allocations: 180.2 kB / 0.7859 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.912e-05/1.347, allocations: 185.2 kB / 0.7861 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-05/1.347, allocations: 184.1 kB / 0.7863 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/1.349, allocations: 1.158 MB / 0.7874 GB, free: 52.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002542/1.352, allocations: 0.9017 MB / 0.7883 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009564/1.353, allocations: 176.3 kB / 0.7885 GB, free: 51.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/1.354, allocations: 114.4 kB / 0.7886 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/1.354, allocations: 184.2 kB / 0.7887 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/1.354, allocations: 101 kB / 0.7888 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01237/1.366, allocations: 7.111 MB / 0.7958 GB, free: 49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.52e-07/1.366, allocations: 6.344 kB / 0.7958 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005571/1.372, allocations: 1.133 MB / 0.7969 GB, free: 48.67 MB / 0.4948 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.002268/1.374, allocations: 1.694 MB / 0.7986 GB, free: 47.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003027/1.377, allocations: 1.852 MB / 0.8004 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.377, allocations: 0 / 0.8004 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/1.377, allocations: 0 / 0.8004 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01433/1.392, allocations: 3.29 MB / 0.8036 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4982/1.89, allocations: 163.1 MB / 0.9628 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01158/1.902, allocations: 5.455 MB / 0.9681 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009831/1.912, allocations: 2.103 MB / 0.9702 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006403/1.918, allocations: 4.059 MB / 0.9742 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/1.918, allocations: 0 / 0.9742 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5884/2.506, allocations: 170.6 MB / 1.141 GB, free: 124 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/2.507, allocations: 175.3 kB / 1.141 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/10.41, allocations: 3.938 kB / 1.141 GB, free: 123.7 MB / 0.5573 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