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.001532/0.001532, allocations: 197.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001017, allocations: 103.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.388/0.388, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002998, allocations: 4.219 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4472, allocations: 63.25 MB / 0.5193 GB, free: 43.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5921, allocations: 96.89 MB / 0.6139 GB, free: 8.723 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5924, allocations: 93.47 kB / 0.614 GB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03384/0.6262, allocations: 13.41 MB / 0.6271 GB, free: 11.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.6263, allocations: 0 / 0.6271 GB, free: 11.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.648e-05/0.6263, allocations: 16 kB / 0.6271 GB, free: 11.18 MB / 442.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.001429/0.6278, allocations: 0.933 MB / 0.628 GB, free: 10.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6278, allocations: 8.031 kB / 0.628 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.628, allocations: 139.1 kB / 0.6281 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.6292, allocations: 222.6 kB / 0.6283 GB, free: 9.824 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6302, allocations: 0.4966 MB / 0.6288 GB, free: 9.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.6303, allocations: 45.3 kB / 0.6289 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/0.6304, allocations: 67.98 kB / 0.6289 GB, free: 9.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.6321, allocations: 1.269 MB / 0.6302 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6322, allocations: 7.938 kB / 0.6302 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.6323, allocations: 31.98 kB / 0.6302 GB, free: 7.719 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.6324, allocations: 100.9 kB / 0.6303 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.6337, allocations: 0.8347 MB / 0.6311 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.6389, allocations: 6.008 MB / 0.637 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.6391, allocations: 70.45 kB / 0.6371 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6392, allocations: 4 kB / 0.6371 GB, free: 460 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.6392, allocations: 38.52 kB / 0.6371 GB, free: 412 kB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/0.6392, allocations: 0 / 0.6371 GB, free: 412 kB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.6398, allocations: 224.9 kB / 0.6373 GB, free: 180 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.6398, allocations: 59.39 kB / 0.6374 GB, free: 108 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/0.6407, allocations: 0.757 MB / 0.6381 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.6408, allocations: 29.7 kB / 0.6381 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.6412, allocations: 0.5322 MB / 0.6387 GB, free: 14.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.6412, allocations: 27.73 kB / 0.6387 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.6412, allocations: 16 kB / 0.6387 GB, free: 14.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6414, allocations: 378.8 kB / 0.6391 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.6417, allocations: 189.8 kB / 0.6392 GB, free: 14.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/0.6424, allocations: 0.7273 MB / 0.64 GB, free: 13.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.6428, allocations: 347.5 kB / 0.6403 GB, free: 12.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6429, allocations: 11.94 kB / 0.6403 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00137/0.6442, allocations: 0.872 MB / 0.6412 GB, free: 11.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.6443, allocations: 16 kB / 0.6412 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.6443, allocations: 20 kB / 0.6412 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.008e-05/0.6444, allocations: 31.95 kB / 0.6412 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.6449, allocations: 184.2 kB / 0.6414 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.142e-05/0.6449, allocations: 43.86 kB / 0.6414 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.6455, allocations: 122.8 kB / 0.6416 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.6456, allocations: 48 kB / 0.6416 GB, free: 11.45 MB / 458.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 () * Number of clocked 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.00053/0.6462, allocations: 388.4 kB / 0.642 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.6462, allocations: 63.16 kB / 0.642 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.6464, allocations: 69.45 kB / 0.6421 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6464, allocations: 3.953 kB / 0.6421 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6464, allocations: 3.984 kB / 0.6421 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6464, allocations: 0 / 0.6421 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.6471, allocations: 0.5442 MB / 0.6426 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6471, allocations: 0 / 0.6426 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.6472, allocations: 15.98 kB / 0.6426 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6472, allocations: 0 / 0.6426 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6472, allocations: 0 / 0.6426 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6472, allocations: 0 / 0.6426 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6472, allocations: 7.953 kB / 0.6427 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.6476, allocations: 278.6 kB / 0.6429 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6478, allocations: 140.2 kB / 0.6431 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.6478, allocations: 8 kB / 0.6431 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.648, allocations: 11.98 kB / 0.6431 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.6481, allocations: 7.984 kB / 0.6431 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.6481, allocations: 7.938 kB / 0.6431 GB, free: 9.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006181/0.6487, allocations: 0.5458 MB / 0.6436 GB, free: 9.281 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.783e-06/0.6488, allocations: 0 / 0.6436 GB, free: 9.281 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006831/0.6494, allocations: 155.5 kB / 0.6438 GB, free: 9.129 MB / 458.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 () * Number of clocked 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.0006629/0.6501, allocations: 0.8181 MB / 0.6446 GB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.6508, allocations: 432.5 kB / 0.645 GB, free: 7.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6508, allocations: 3.938 kB / 0.645 GB, free: 7.863 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.6509, allocations: 51.94 kB / 0.645 GB, free: 7.812 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.6514, allocations: 91.12 kB / 0.6451 GB, free: 7.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.6619, allocations: 17.93 MB / 0.6626 GB, free: 5.316 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.6626, allocations: 1.046 MB / 0.6637 GB, free: 4.242 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005762/0.6632, allocations: 204.8 kB / 0.6639 GB, free: 4.043 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.6635, allocations: 259.3 kB / 0.6641 GB, free: 3.789 MB / 474.7 MB Notification: Performance of SimCode: time 3.306e-06/0.6635, allocations: 0 / 0.6641 GB, free: 3.789 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.6912, allocations: 11.22 MB / 0.6751 GB, free: 8.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.6914, allocations: 167.3 kB / 0.6752 GB, free: 8.516 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.14, allocations: 0 / 0.6752 GB, free: 8.516 MB / 490.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