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.001313/0.001313, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008716/0.0008717, allocations: 104.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.677e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.4988, allocations: 100.5 MB / 0.6026 GB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4992, allocations: 77.7 kB / 0.6027 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1813/0.6805, allocations: 78.21 MB / 0.6791 GB, free: 12.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6805, allocations: 0 / 0.6791 GB, free: 12.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001161/0.6817, allocations: 139.9 kB / 0.6792 GB, free: 12.15 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.02238/0.7041, allocations: 6.542 MB / 0.6856 GB, free: 5.531 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.7042, allocations: 12.02 kB / 0.6856 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.7093, allocations: 1.123 MB / 0.6867 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7203, allocations: 3.903 MB / 0.6905 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7205, allocations: 80 kB / 0.6906 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.7216, allocations: 148 kB / 0.6907 GB, free: 188 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008445/0.73, allocations: 4.507 MB / 0.6951 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.7425, allocations: 5.98 MB / 0.701 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.828e-05/0.7427, allocations: 11.88 kB / 0.701 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006707/0.7433, allocations: 4 kB / 0.701 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.7446, allocations: 1.024 MB / 0.702 GB, free: 4.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.7776, allocations: 20.29 MB / 0.7218 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.276e-05/0.7778, allocations: 169.1 kB / 0.722 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.7778, allocations: 80.14 kB / 0.722 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.7779, allocations: 75.28 kB / 0.7221 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.7779, allocations: 105.8 kB / 0.7222 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/0.7779, allocations: 4 kB / 0.7222 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.001576/0.7795, allocations: 0.8425 MB / 0.723 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.7795, allocations: 55.39 kB / 0.7231 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/0.796, allocations: 8.619 MB / 0.7315 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.796, allocations: 25.7 kB / 0.7315 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006156/0.8022, allocations: 5.838 MB / 0.7372 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.8024, allocations: 91.91 kB / 0.7373 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.8025, allocations: 0 / 0.7373 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002873/0.8028, allocations: 483 kB / 0.7378 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009769/0.8038, allocations: 0.6369 MB / 0.7384 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.8075, allocations: 3.842 MB / 0.7422 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.8099, allocations: 1.509 MB / 0.7436 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/0.81, allocations: 36 kB / 0.7437 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007826/0.8178, allocations: 4.165 MB / 0.7477 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-05/0.8179, allocations: 56 kB / 0.7478 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.8181, allocations: 120 kB / 0.7479 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.8182, allocations: 168 kB / 0.7481 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.8206, allocations: 0.9824 MB / 0.749 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/0.8208, allocations: 234.9 kB / 0.7492 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/0.8249, allocations: 0.5098 MB / 0.7497 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.8253, allocations: 284 kB / 0.75 GB, free: 0.8398 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.0004711/0.8257, allocations: 448.6 kB / 0.7504 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5792/1.405, allocations: 0.942 MB / 0.7514 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.406, allocations: 0.9032 MB / 0.7522 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/1.409, allocations: 1.024 MB / 0.7532 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.409, allocations: 184.2 kB / 0.7534 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.064e-05/1.41, allocations: 178.1 kB / 0.7536 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/1.41, allocations: 184.3 kB / 0.7538 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.422, allocations: 3.931 MB / 0.7576 GB, free: 130.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.422, allocations: 103.8 kB / 0.7577 GB, free: 130.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/1.422, allocations: 103.5 kB / 0.7578 GB, free: 130.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.912e-05/1.422, allocations: 182.3 kB / 0.758 GB, free: 130.4 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/1.422, allocations: 177.8 kB / 0.7581 GB, free: 130.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.851e-05/1.422, allocations: 183.3 kB / 0.7583 GB, free: 130.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.215e-05/1.422, allocations: 178.4 kB / 0.7585 GB, free: 129.9 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/1.424, allocations: 1.155 MB / 0.7596 GB, free: 129.1 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.425, allocations: 0.8915 MB / 0.7605 GB, free: 128.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/1.426, allocations: 183.9 kB / 0.7607 GB, free: 128.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/1.426, allocations: 104.3 kB / 0.7608 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/1.427, allocations: 180.5 kB / 0.7609 GB, free: 127.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/1.427, allocations: 104.6 kB / 0.761 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0219/1.448, allocations: 6.481 MB / 0.7674 GB, free: 127.6 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.81e-07/1.449, allocations: 2.906 kB / 0.7674 GB, free: 127.6 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007016/1.456, allocations: 1.054 MB / 0.7684 GB, free: 127.4 MB / 0.5262 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.002232/1.458, allocations: 1.692 MB / 0.77 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.003509/1.461, allocations: 1.603 MB / 0.7716 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.461, allocations: 0 / 0.7716 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/1.461, allocations: 0 / 0.7716 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/1.476, allocations: 3.269 MB / 0.7748 GB, free: 125.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03464/1.511, allocations: 14.87 MB / 0.7893 GB, free: 122.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006946/1.518, allocations: 5.452 MB / 0.7946 GB, free: 121.7 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007614/1.525, allocations: 2.088 MB / 0.7967 GB, free: 121.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00563/1.531, allocations: 4.057 MB / 0.8006 GB, free: 119.9 MB / 0.5262 GB Notification: Performance of SimCode: time 9.71e-07/1.531, allocations: 0 / 0.8006 GB, free: 119.9 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2471/1.778, allocations: 155.8 MB / 0.9528 GB, free: 6.27 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.778, allocations: 141.1 kB / 0.9529 GB, free: 6.078 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/9.564, allocations: 0 / 0.9529 GB, free: 6.078 MB / 0.5418 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