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.001121/0.00112, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009466/0.0009467, allocations: 95.5 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.985e-05, allocations: 11.92 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 61.9 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6533, allocations: 100.1 MB / 0.5996 GB, free: 5.145 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.6537, allocations: 79.95 kB / 0.5996 GB, free: 5.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1856/0.8393, allocations: 80.12 MB / 0.6779 GB, free: 4.648 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8394, allocations: 4 kB / 0.6779 GB, free: 4.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001184/0.8406, allocations: 143.9 kB / 0.678 GB, free: 4.504 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.01887/0.8594, allocations: 6.53 MB / 0.6844 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.8595, allocations: 12.03 kB / 0.6844 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002884/0.8624, allocations: 0.6507 MB / 0.685 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/0.8662, allocations: 1.13 MB / 0.6861 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.8768, allocations: 3.899 MB / 0.69 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.8771, allocations: 193 kB / 0.6901 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008231/0.8779, allocations: 251.8 kB / 0.6904 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.8904, allocations: 6.359 MB / 0.6966 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.8905, allocations: 11.88 kB / 0.6966 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.8908, allocations: 104 kB / 0.6967 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.8919, allocations: 1.016 MB / 0.6977 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008614/0.9005, allocations: 3.921 MB / 0.7015 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4489/1.349, allocations: 20.03 MB / 0.7211 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/1.351, allocations: 340.1 kB / 0.7214 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/1.351, allocations: 57.77 kB / 0.7215 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007564/1.359, allocations: 3.261 MB / 0.7246 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.359, allocations: 109.5 kB / 0.7248 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 3.637e-06/1.359, allocations: 0 / 0.7248 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.002042/1.361, allocations: 0.8363 MB / 0.7256 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.361, allocations: 127.5 kB / 0.7257 GB, free: 115 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02852/1.39, allocations: 9.166 MB / 0.7346 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.39, allocations: 29.09 kB / 0.7347 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007452/1.397, allocations: 5.836 MB / 0.7404 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/1.398, allocations: 89 kB / 0.7405 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/1.398, allocations: 83.97 kB / 0.7405 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002446/1.398, allocations: 487.4 kB / 0.741 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.399, allocations: 0.7225 MB / 0.7417 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/1.402, allocations: 3.942 MB / 0.7456 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/1.403, allocations: 1.632 MB / 0.7471 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/1.403, allocations: 32.44 kB / 0.7472 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007791/1.411, allocations: 4.837 MB / 0.7519 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/1.411, allocations: 57.06 kB / 0.752 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.411, allocations: 121.7 kB / 0.7521 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/1.412, allocations: 168 kB / 0.7522 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.414, allocations: 0.9843 MB / 0.7532 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001451/1.414, allocations: 228.3 kB / 0.7534 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/1.419, allocations: 0.5993 MB / 0.754 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/1.419, allocations: 285 kB / 0.7543 GB, free: 106.3 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.0004413/1.42, allocations: 0.5384 MB / 0.7548 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.421, allocations: 0.9154 MB / 0.7557 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/1.424, allocations: 1.019 MB / 0.7567 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.424, allocations: 183 kB / 0.7569 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.324e-05/1.424, allocations: 180.2 kB / 0.757 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.424, allocations: 177.7 kB / 0.7572 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.436, allocations: 5.14 MB / 0.7622 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/1.437, allocations: 104.9 kB / 0.7623 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/1.437, allocations: 101 kB / 0.7624 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.752e-05/1.437, allocations: 187.4 kB / 0.7626 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/1.437, allocations: 176.3 kB / 0.7628 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.983e-05/1.437, allocations: 183.7 kB / 0.7629 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-05/1.437, allocations: 187.1 kB / 0.7631 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/1.438, allocations: 1.145 MB / 0.7642 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.44, allocations: 0.9142 MB / 0.7651 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.441, allocations: 180.2 kB / 0.7653 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/1.442, allocations: 111 kB / 0.7654 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/1.442, allocations: 183.5 kB / 0.7656 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/1.442, allocations: 101.7 kB / 0.7657 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01433/1.456, allocations: 7.017 MB / 0.7725 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.41e-07/1.456, allocations: 0 / 0.7725 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005821/1.462, allocations: 1.126 MB / 0.7736 GB, free: 96.96 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.002043/1.464, allocations: 1.709 MB / 0.7753 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003537/1.468, allocations: 1.823 MB / 0.7771 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.468, allocations: 0 / 0.7771 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/1.468, allocations: 10.62 kB / 0.7771 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/1.483, allocations: 3.288 MB / 0.7803 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/1.524, allocations: 14.99 MB / 0.7949 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009198/1.534, allocations: 5.459 MB / 0.8003 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008454/1.542, allocations: 2.096 MB / 0.8023 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007073/1.549, allocations: 4.064 MB / 0.8063 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/1.549, allocations: 0 / 0.8063 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6525/2.202, allocations: 167.3 MB / 0.9697 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/2.202, allocations: 156.5 kB / 0.9699 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.887/11.09, allocations: 4 kB / 0.9699 GB, free: 106.3 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