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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007896/0.0007894, allocations: 97.19 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009204/0.0009205, allocations: 194.8 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3269/0.3269, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 15.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01789/0.1673, allocations: 18.35 MB / 500 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1778, allocations: 4.067 MB / 0.4922 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003773/0.1817, allocations: 79.81 kB / 0.4923 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.1838, allocations: 0.7931 MB / 0.4931 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005272/0.1891, allocations: 2.218 MB / 0.4953 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1895, allocations: 51.88 kB / 0.4953 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.1901, allocations: 0.5605 MB / 0.4959 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.1913, allocations: 0.7472 MB / 0.4966 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.1916, allocations: 191.1 kB / 0.4968 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.1919, allocations: 274.9 kB / 0.497 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.192, allocations: 20 kB / 0.4971 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1922, allocations: 55.95 kB / 0.4971 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.1924, allocations: 247.3 kB / 0.4973 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1926, allocations: 161.2 kB / 0.4975 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.1932, allocations: 0.6936 MB / 0.4982 GB, free: 8.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1932, allocations: 3.938 kB / 0.4982 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1932, allocations: 4 kB / 0.4982 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1933, allocations: 0 / 0.4982 GB, free: 8.656 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001347/0.1946, allocations: 0.8916 MB / 0.4991 GB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1947, allocations: 8.031 kB / 0.4991 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.1948, allocations: 127.1 kB / 0.4992 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007214/0.1955, allocations: 166.8 kB / 0.4993 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.1962, allocations: 432.6 kB / 0.4998 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1962, allocations: 44.97 kB / 0.4998 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.1963, allocations: 39.98 kB / 0.4998 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.1979, allocations: 1.253 MB / 0.5011 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.198, allocations: 7.938 kB / 0.5011 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.198, allocations: 15.98 kB / 0.5011 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003818/0.1984, allocations: 252.7 kB / 0.5013 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1997, allocations: 0.8115 MB / 0.5021 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.288/0.4877, allocations: 5.06 MB / 0.5071 GB, free: 40.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.4879, allocations: 64.41 kB / 0.5071 GB, free: 40.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4881, allocations: 54.39 kB / 0.5072 GB, free: 40.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4881, allocations: 4.344 kB / 0.5072 GB, free: 40.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.4881, allocations: 35.89 kB / 0.5072 GB, free: 40.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.295e-06/0.4881, allocations: 0 / 0.5072 GB, free: 40.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005394/0.4887, allocations: 233 kB / 0.5074 GB, free: 40.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.4887, allocations: 52.56 kB / 0.5075 GB, free: 39.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.4898, allocations: 0.8504 MB / 0.5083 GB, free: 39.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4898, allocations: 26.5 kB / 0.5083 GB, free: 39.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4901, allocations: 0.5379 MB / 0.5089 GB, free: 39.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4901, allocations: 26.14 kB / 0.5089 GB, free: 39.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.4902, allocations: 15.22 kB / 0.5089 GB, free: 39.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4903, allocations: 380.4 kB / 0.5093 GB, free: 39.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.4907, allocations: 184.8 kB / 0.5094 GB, free: 39.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.4913, allocations: 0.7366 MB / 0.5102 GB, free: 38.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.4918, allocations: 349.1 kB / 0.5105 GB, free: 38.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4918, allocations: 5.438 kB / 0.5105 GB, free: 38.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001302/0.4931, allocations: 0.8797 MB / 0.5114 GB, free: 38.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.4931, allocations: 13.78 kB / 0.5114 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.4932, allocations: 20.53 kB / 0.5114 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/0.4932, allocations: 29.12 kB / 0.5114 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.4937, allocations: 179.6 kB / 0.5116 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/0.4938, allocations: 38.92 kB / 0.5116 GB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.4943, allocations: 125.4 kB / 0.5117 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.4944, allocations: 54.48 kB / 0.5118 GB, free: 38.21 MB / 382.1 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 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,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.color[3],fixedArrow.color[2],fixedArrow.color[1],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.0003888/0.4948, allocations: 390.5 kB / 0.5122 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.4949, allocations: 61.91 kB / 0.5122 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.495, allocations: 65.06 kB / 0.5123 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.495, allocations: 0.8438 kB / 0.5123 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.495, allocations: 0 / 0.5123 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.495, allocations: 3.969 kB / 0.5123 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.4957, allocations: 0.5511 MB / 0.5128 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4957, allocations: 0.6094 kB / 0.5128 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.4958, allocations: 15.94 kB / 0.5128 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4958, allocations: 4 kB / 0.5129 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4958, allocations: 0.6562 kB / 0.5129 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.4958, allocations: 6.062 kB / 0.5129 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4958, allocations: 0 / 0.5129 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.4962, allocations: 291.5 kB / 0.5131 GB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4963, allocations: 135.7 kB / 0.5133 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.4963, allocations: 1.094 kB / 0.5133 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4965, allocations: 9.75 kB / 0.5133 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.4966, allocations: 9.828 kB / 0.5133 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.4966, allocations: 1.734 kB / 0.5133 GB, free: 37.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.4973, allocations: 0.5499 MB / 0.5138 GB, free: 37.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4973, allocations: 4 kB / 0.5138 GB, free: 37.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.498, allocations: 157.6 kB / 0.514 GB, free: 37.21 MB / 382.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 (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.0005328/0.4985, allocations: 0.8202 MB / 0.5148 GB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.4992, allocations: 423.2 kB / 0.5152 GB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4992, allocations: 0 / 0.5152 GB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.4994, allocations: 59.02 kB / 0.5152 GB, free: 36.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.4999, allocations: 91.14 kB / 0.5153 GB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.5052, allocations: 4.234 MB / 0.5195 GB, free: 33.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.5059, allocations: 1.025 MB / 0.5205 GB, free: 33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005823/0.5065, allocations: 216.1 kB / 0.5207 GB, free: 32.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5067, allocations: 257.5 kB / 0.5209 GB, free: 32.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5067, allocations: 0 / 0.5209 GB, free: 32.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.531, allocations: 11.21 MB / 0.5319 GB, free: 28.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.5312, allocations: 191.5 kB / 0.532 GB, free: 28.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.569, allocations: 0 / 0.532 GB, free: 28.04 MB / 382.1 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