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.001047/0.001047, allocations: 96.33 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 207.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 45.91 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003181, allocations: 11.98 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 63.47 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.0166/0.1652, allocations: 17.44 MB / 499 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.1755, allocations: 4.228 MB / 0.4914 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.1799, allocations: 75.88 kB / 0.4915 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.1831, allocations: 0.8438 MB / 0.4923 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.1934, allocations: 2.513 MB / 0.4947 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.1943, allocations: 47.89 kB / 0.4948 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.1951, allocations: 307.2 kB / 0.4951 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.1964, allocations: 0.7395 MB / 0.4958 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.1967, allocations: 155.3 kB / 0.496 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1971, allocations: 191.1 kB / 0.4961 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.1971, allocations: 20 kB / 0.4962 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.1973, allocations: 51.91 kB / 0.4962 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.1975, allocations: 243.3 kB / 0.4964 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1977, allocations: 157.2 kB / 0.4966 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.1984, allocations: 0.6936 MB / 0.4973 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1984, allocations: 0 / 0.4973 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1984, allocations: 0 / 0.4973 GB, free: 9.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1984, allocations: 0 / 0.4973 GB, free: 9.5 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.001368/0.1998, allocations: 0.8916 MB / 0.4981 GB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1998, allocations: 8.031 kB / 0.4981 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.2, allocations: 123.1 kB / 0.4983 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.2008, allocations: 190.7 kB / 0.4984 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.2015, allocations: 440.6 kB / 0.4989 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.2016, allocations: 36.97 kB / 0.4989 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.2016, allocations: 43.98 kB / 0.4989 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.2031, allocations: 1.241 MB / 0.5002 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2032, allocations: 7.938 kB / 0.5002 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.2032, allocations: 19.98 kB / 0.5002 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003877/0.2036, allocations: 244.8 kB / 0.5004 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2049, allocations: 0.8193 MB / 0.5012 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2934/0.4983, allocations: 5.059 MB / 0.5062 GB, free: 43.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.4986, allocations: 66.59 kB / 0.5062 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.4986, allocations: 1.766 kB / 0.5062 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4986, allocations: 33.03 kB / 0.5063 GB, free: 43.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/0.4986, allocations: 3.031 kB / 0.5063 GB, free: 43.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007211/0.4994, allocations: 228.5 kB / 0.5065 GB, free: 43.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4994, allocations: 55.31 kB / 0.5065 GB, free: 43.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5009, allocations: 0.8486 MB / 0.5074 GB, free: 43.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5009, allocations: 26.39 kB / 0.5074 GB, free: 43.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.5013, allocations: 0.5377 MB / 0.5079 GB, free: 42.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.5013, allocations: 27.72 kB / 0.5079 GB, free: 42.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.5014, allocations: 14.94 kB / 0.5079 GB, free: 42.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5015, allocations: 378.7 kB / 0.5083 GB, free: 42.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.5018, allocations: 186.2 kB / 0.5085 GB, free: 42.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.5024, allocations: 0.7347 MB / 0.5092 GB, free: 41.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.5029, allocations: 340.3 kB / 0.5095 GB, free: 41.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.5029, allocations: 9.219 kB / 0.5095 GB, free: 41.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001317/0.5042, allocations: 0.8815 MB / 0.5104 GB, free: 41.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5043, allocations: 13.19 kB / 0.5104 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.5043, allocations: 24.06 kB / 0.5104 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/0.5044, allocations: 29.72 kB / 0.5105 GB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.5049, allocations: 183.5 kB / 0.5106 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-05/0.5049, allocations: 38.97 kB / 0.5107 GB, free: 41.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.5055, allocations: 119.9 kB / 0.5108 GB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.5055, allocations: 51.33 kB / 0.5108 GB, free: 41.36 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.0004299/0.506, allocations: 396.5 kB / 0.5112 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.506, allocations: 67.09 kB / 0.5113 GB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.5061, allocations: 65.03 kB / 0.5113 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5061, allocations: 1.406 kB / 0.5113 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5062, allocations: 0 / 0.5113 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5062, allocations: 0.6562 kB / 0.5113 GB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.5068, allocations: 0.5469 MB / 0.5119 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5068, allocations: 0.5625 kB / 0.5119 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.5069, allocations: 15.34 kB / 0.5119 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5069, allocations: 4 kB / 0.5119 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.5069, allocations: 6.484 kB / 0.5119 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5069, allocations: 3.953 kB / 0.5119 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.507, allocations: 3 kB / 0.5119 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.5073, allocations: 280.5 kB / 0.5122 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5074, allocations: 138.8 kB / 0.5123 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.5075, allocations: 3.953 kB / 0.5123 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.5077, allocations: 9.922 kB / 0.5123 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.5078, allocations: 16.16 kB / 0.5123 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5078, allocations: 2.594 kB / 0.5123 GB, free: 40.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006717/0.5084, allocations: 0.5457 MB / 0.5129 GB, free: 40.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5085, allocations: 4 kB / 0.5129 GB, free: 40.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006885/0.5091, allocations: 154.2 kB / 0.513 GB, free: 40.14 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.0005488/0.5097, allocations: 0.8169 MB / 0.5138 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.5104, allocations: 423.2 kB / 0.5142 GB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5105, allocations: 5.406 kB / 0.5142 GB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.5106, allocations: 52.83 kB / 0.5143 GB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.5111, allocations: 90.62 kB / 0.5144 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5216, allocations: 17.92 MB / 0.5319 GB, free: 22.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/0.5225, allocations: 1.05 MB / 0.5329 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007824/0.5233, allocations: 212.7 kB / 0.5331 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.5236, allocations: 260.8 kB / 0.5333 GB, free: 21.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5236, allocations: 0 / 0.5333 GB, free: 21.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.549, allocations: 11.2 MB / 0.5443 GB, free: 17.87 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.5493, allocations: 171.8 kB / 0.5444 GB, free: 17.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.505, allocations: 0 / 0.5444 GB, free: 17.63 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