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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 93.12 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 181.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.28/0.3819, allocations: 47.9 MB / 0.5073 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02538/0.4073, allocations: 10.39 MB / 0.5174 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01008/0.4174, allocations: 239.9 kB / 0.5176 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009056/0.4265, allocations: 2.435 MB / 0.52 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02553/0.4521, allocations: 7.027 MB / 0.5269 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.4556, allocations: 290.4 kB / 0.5272 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.4585, allocations: 0.8986 MB / 0.528 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003931/0.4625, allocations: 2.846 MB / 0.5308 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4636, allocations: 0.5467 MB / 0.5314 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.4664, allocations: 2.122 MB / 0.5334 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.4667, allocations: 70.94 kB / 0.5335 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.4675, allocations: 314.3 kB / 0.5338 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.4695, allocations: 2.907 MB / 0.5366 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.4708, allocations: 1.391 MB / 0.538 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.4768, allocations: 6.881 MB / 0.5447 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4768, allocations: 0 / 0.5447 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4768, allocations: 0 / 0.5447 GB, free: 1.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003592/0.4772, allocations: 0 / 0.5447 GB, free: 1.051 MB / 382.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.01545/0.4927, allocations: 7.996 MB / 0.5525 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4927, allocations: 12.02 kB / 0.5525 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/0.4942, allocations: 0.6149 MB / 0.5531 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.4963, allocations: 0.9743 MB / 0.5541 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/0.5034, allocations: 3.707 MB / 0.5577 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.5035, allocations: 126.5 kB / 0.5578 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5037, allocations: 167.9 kB / 0.558 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009184/0.5129, allocations: 6.625 MB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.513, allocations: 15.89 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.5132, allocations: 76.75 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001695/0.5149, allocations: 1.561 MB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/0.5227, allocations: 4.152 MB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03357/0.5563, allocations: 20.77 MB / 0.5904 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.5581, allocations: 338.2 kB / 0.5907 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006968/0.5651, allocations: 3.579 MB / 0.5942 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.5652, allocations: 117.8 kB / 0.5943 GB, free: 2.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.5652, allocations: 0 / 0.5943 GB, free: 2.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.001526/0.5668, allocations: 0.8424 MB / 0.5952 GB, free: 1.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.5668, allocations: 131.7 kB / 0.5953 GB, free: 1.441 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/0.5883, allocations: 10.59 MB / 0.6056 GB, free: 6.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.5883, allocations: 25.7 kB / 0.6056 GB, free: 6.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006279/0.5946, allocations: 5.834 MB / 0.6113 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.5948, allocations: 95.89 kB / 0.6114 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.5951, allocations: 88 kB / 0.6115 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.5953, allocations: 475 kB / 0.612 GB, free: 404 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.5964, allocations: 0.7459 MB / 0.6127 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.5997, allocations: 3.968 MB / 0.6166 GB, free: 9.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.6019, allocations: 1.627 MB / 0.6182 GB, free: 8.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/0.602, allocations: 37.42 kB / 0.6182 GB, free: 8.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00904/0.611, allocations: 4.888 MB / 0.623 GB, free: 3.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.6111, allocations: 52.97 kB / 0.623 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.6113, allocations: 120 kB / 0.6231 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.6114, allocations: 168 kB / 0.6233 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.614, allocations: 0.9864 MB / 0.6243 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001712/0.6142, allocations: 231.1 kB / 0.6245 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.6187, allocations: 0.6644 MB / 0.6251 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/0.6192, allocations: 288 kB / 0.6254 GB, free: 0.9258 MB / 462.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.006029/0.6252, allocations: 3.41 MB / 0.6287 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/0.627, allocations: 0.9082 MB / 0.6296 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.6293, allocations: 1.023 MB / 0.6306 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/0.6294, allocations: 176.3 kB / 0.6308 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-05/0.6295, allocations: 180.3 kB / 0.631 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.6296, allocations: 184.2 kB / 0.6311 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/0.6404, allocations: 5.132 MB / 0.6362 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-05/0.6405, allocations: 108.9 kB / 0.6363 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.6406, allocations: 101 kB / 0.6364 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.6406, allocations: 180.3 kB / 0.6365 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/0.6407, allocations: 192.2 kB / 0.6367 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.028e-05/0.6408, allocations: 176.3 kB / 0.6369 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-05/0.6409, allocations: 180.2 kB / 0.637 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6427, allocations: 1.155 MB / 0.6382 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/0.6452, allocations: 1.229 MB / 0.6394 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/0.6463, allocations: 180.3 kB / 0.6395 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6476, allocations: 179.8 kB / 0.6397 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.6477, allocations: 176.3 kB / 0.6399 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.6478, allocations: 105 kB / 0.64 GB, free: 1.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01516/0.6629, allocations: 7.189 MB / 0.647 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.475e-06/0.663, allocations: 5.531 kB / 0.647 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005702/0.6687, allocations: 1.151 MB / 0.6481 GB, free: 9.426 MB / 494.1 MB 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.002446/0.6712, allocations: 1.722 MB / 0.6498 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.6747, allocations: 1.853 MB / 0.6516 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6747, allocations: 6 kB / 0.6516 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/0.6747, allocations: 0 / 0.6516 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/0.6877, allocations: 3.285 MB / 0.6548 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4781/1.166, allocations: 163.6 MB / 0.8146 GB, free: 46.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006361/1.172, allocations: 5.456 MB / 0.8199 GB, free: 43.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006464/1.179, allocations: 2.245 MB / 0.8221 GB, free: 41.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005695/1.184, allocations: 4.155 MB / 0.8262 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.823e-06/1.185, allocations: 0 / 0.8262 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5281/1.713, allocations: 171.7 MB / 0.9938 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.713, allocations: 192.9 kB / 0.994 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/8.718, allocations: 0 / 0.994 GB, free: 164.3 MB / 0.5762 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