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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 101.4 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.644e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.93 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.6002, allocations: 99.46 MB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.6005, allocations: 77.95 kB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1792/0.7797, allocations: 78.16 MB / 0.6683 GB, free: 14.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7798, allocations: 0 / 0.6683 GB, free: 14.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008568/0.7806, allocations: 140 kB / 0.6684 GB, free: 14.16 MB / 490.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.01369/0.7943, allocations: 6.538 MB / 0.6748 GB, free: 7.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.7944, allocations: 11.98 kB / 0.6748 GB, free: 7.535 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/0.7984, allocations: 1.13 MB / 0.6759 GB, free: 6.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/0.8071, allocations: 3.899 MB / 0.6797 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.8072, allocations: 80 kB / 0.6798 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.8077, allocations: 140 kB / 0.6799 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006666/0.8143, allocations: 4.511 MB / 0.6843 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.8244, allocations: 5.983 MB / 0.6902 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/0.8245, allocations: 7.938 kB / 0.6902 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.8247, allocations: 7.984 kB / 0.6902 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/0.8259, allocations: 1.028 MB / 0.6912 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.8565, allocations: 20.29 MB / 0.711 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8566, allocations: 177.1 kB / 0.7112 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.8567, allocations: 84.14 kB / 0.7113 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.8567, allocations: 79.28 kB / 0.7113 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.8567, allocations: 105.8 kB / 0.7114 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.8567, allocations: 0 / 0.7114 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.001378/0.8581, allocations: 0.8308 MB / 0.7123 GB, free: 200 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.8582, allocations: 51.41 kB / 0.7123 GB, free: 136 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3801/1.238, allocations: 8.622 MB / 0.7207 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/1.238, allocations: 25.7 kB / 0.7208 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004973/1.243, allocations: 5.841 MB / 0.7265 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.243, allocations: 90.44 kB / 0.7265 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/1.244, allocations: 0 / 0.7265 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.244, allocations: 484.5 kB / 0.727 GB, free: 129 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/1.245, allocations: 0.6383 MB / 0.7276 GB, free: 129 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.247, allocations: 3.84 MB / 0.7314 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.249, allocations: 1.511 MB / 0.7329 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.279e-05/1.249, allocations: 33.72 kB / 0.7329 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007237/1.256, allocations: 4.162 MB / 0.737 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/1.256, allocations: 56.83 kB / 0.737 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.256, allocations: 117.2 kB / 0.7371 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/1.257, allocations: 168.1 kB / 0.7373 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/1.259, allocations: 0.987 MB / 0.7382 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001334/1.259, allocations: 223.3 kB / 0.7385 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/1.262, allocations: 0.5179 MB / 0.739 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/1.263, allocations: 288 kB / 0.7392 GB, free: 123.7 MB / 0.5105 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.0003929/1.263, allocations: 464.2 kB / 0.7397 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008859/1.264, allocations: 0.9313 MB / 0.7406 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/1.265, allocations: 0.9004 MB / 0.7415 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/1.267, allocations: 1.016 MB / 0.7425 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/1.267, allocations: 194.5 kB / 0.7426 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/1.267, allocations: 176.9 kB / 0.7428 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.267, allocations: 181 kB / 0.743 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/1.273, allocations: 3.929 MB / 0.7468 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.273, allocations: 101 kB / 0.7469 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/1.273, allocations: 108.5 kB / 0.747 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.951e-05/1.273, allocations: 182.9 kB / 0.7472 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/1.273, allocations: 188.2 kB / 0.7474 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/1.273, allocations: 176.3 kB / 0.7475 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.638e-05/1.273, allocations: 183.6 kB / 0.7477 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.274, allocations: 1.143 MB / 0.7488 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.275, allocations: 0.8959 MB / 0.7497 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005733/1.276, allocations: 183.6 kB / 0.7499 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/1.277, allocations: 110.3 kB / 0.75 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/1.277, allocations: 180.2 kB / 0.7502 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/1.277, allocations: 104.3 kB / 0.7503 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01032/1.287, allocations: 6.483 MB / 0.7566 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/1.287, allocations: 0 / 0.7566 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004228/1.291, allocations: 1.053 MB / 0.7576 GB, free: 115.3 MB / 0.5105 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.0009117/1.292, allocations: 1.698 MB / 0.7593 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002395/1.295, allocations: 1.596 MB / 0.7608 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.295, allocations: 0 / 0.7608 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/1.295, allocations: 4.531 kB / 0.7608 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/1.308, allocations: 3.269 MB / 0.764 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/1.342, allocations: 14.87 MB / 0.7786 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009154/1.351, allocations: 5.447 MB / 0.7839 GB, free: 106 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007934/1.359, allocations: 2.096 MB / 0.7859 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005582/1.365, allocations: 4.059 MB / 0.7899 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.365, allocations: 0 / 0.7899 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.538/1.903, allocations: 155.8 MB / 0.9421 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.903, allocations: 139.3 kB / 0.9422 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/9.965, allocations: 0 / 0.9422 GB, free: 118.7 MB / 0.5261 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