Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.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.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008199/0.00082, allocations: 87.34 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.066e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4444, allocations: 96.82 MB / 0.606 GB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4447, allocations: 76.39 kB / 0.6061 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0313/0.476, allocations: 13.4 MB / 0.6192 GB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.476, allocations: 0 / 0.6192 GB, free: 1.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.4761, allocations: 16 kB / 0.6192 GB, free: 1.508 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0009813/0.477, allocations: 0.85 MB / 0.62 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4771, allocations: 11.97 kB / 0.62 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.4772, allocations: 131.7 kB / 0.6201 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.4783, allocations: 222.6 kB / 0.6204 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/0.4792, allocations: 0.4935 MB / 0.6208 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4792, allocations: 50.86 kB / 0.6209 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.4793, allocations: 66.3 kB / 0.621 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4807, allocations: 1.245 MB / 0.6222 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4808, allocations: 7.938 kB / 0.6222 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.4808, allocations: 37.09 kB / 0.6222 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.4809, allocations: 105.9 kB / 0.6223 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.4819, allocations: 0.7716 MB / 0.6231 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/0.4861, allocations: 6.007 MB / 0.6289 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.4862, allocations: 42.17 kB / 0.629 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.4863, allocations: 35.98 kB / 0.629 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4863, allocations: 0 / 0.629 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4863, allocations: 42.55 kB / 0.629 GB, free: 8.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4864, allocations: 0 / 0.629 GB, free: 8.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002525/0.4866, allocations: 146.3 kB / 0.6292 GB, free: 8.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4867, allocations: 55.52 kB / 0.6292 GB, free: 8.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.4874, allocations: 0.7624 MB / 0.63 GB, free: 7.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4874, allocations: 25.7 kB / 0.63 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.4877, allocations: 0.5347 MB / 0.6305 GB, free: 6.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4878, allocations: 26.14 kB / 0.6306 GB, free: 6.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.4878, allocations: 15.88 kB / 0.6306 GB, free: 6.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4879, allocations: 381.3 kB / 0.6309 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.4881, allocations: 160.2 kB / 0.6311 GB, free: 6.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/0.4887, allocations: 0.7083 MB / 0.6318 GB, free: 5.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.4891, allocations: 326 kB / 0.6321 GB, free: 5.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4891, allocations: 4 kB / 0.6321 GB, free: 5.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001063/0.4901, allocations: 0.8371 MB / 0.6329 GB, free: 4.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4902, allocations: 16 kB / 0.6329 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.4902, allocations: 23.95 kB / 0.6329 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/0.4903, allocations: 28 kB / 0.633 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.4908, allocations: 179.5 kB / 0.6331 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.4908, allocations: 43.8 kB / 0.6332 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.4913, allocations: 116.5 kB / 0.6333 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.4914, allocations: 55.55 kB / 0.6334 GB, free: 4.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (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],fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0001407/0.4915, allocations: 179.8 kB / 0.6335 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.4916, allocations: 59.25 kB / 0.6336 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4917, allocations: 69.31 kB / 0.6336 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4917, allocations: 7.953 kB / 0.6337 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4917, allocations: 0 / 0.6337 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4917, allocations: 48 / 0.6337 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.4923, allocations: 0.5474 MB / 0.6342 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4924, allocations: 0 / 0.6342 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.4924, allocations: 19.92 kB / 0.6342 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4925, allocations: 0 / 0.6342 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4925, allocations: 6.922 kB / 0.6342 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4925, allocations: 0 / 0.6342 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4925, allocations: 7.953 kB / 0.6342 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4927, allocations: 243.7 kB / 0.6345 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4929, allocations: 139.5 kB / 0.6346 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.493, allocations: 0 / 0.6346 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4932, allocations: 8 kB / 0.6346 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4932, allocations: 19.3 kB / 0.6346 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4932, allocations: 0 / 0.6346 GB, free: 2.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005688/0.4938, allocations: 0.5449 MB / 0.6351 GB, free: 2.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4938, allocations: 0 / 0.6351 GB, free: 2.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.4945, allocations: 162.5 kB / 0.6353 GB, free: 2.41 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006144/0.4951, allocations: 0.7716 MB / 0.6361 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.4956, allocations: 391 kB / 0.6364 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4956, allocations: 0 / 0.6364 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.4957, allocations: 34.78 kB / 0.6365 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.4962, allocations: 95.77 kB / 0.6366 GB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.4981, allocations: 1.028 MB / 0.6376 GB, free: 284 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.4987, allocations: 1.05 MB / 0.6386 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004769/0.4992, allocations: 204.8 kB / 0.6388 GB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.4994, allocations: 262.4 kB / 0.639 GB, free: 14.99 MB / 442.7 MB Notification: Performance of SimCode: time 2.294e-06/0.4995, allocations: 0 / 0.639 GB, free: 14.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.5212, allocations: 11.08 MB / 0.6498 GB, free: 4.055 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.5214, allocations: 157.8 kB / 0.65 GB, free: 3.816 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.403, allocations: 0 / 0.65 GB, free: 3.816 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat