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.001359/0.001359, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008625/0.0008625, allocations: 91.66 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.91e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.5178, allocations: 96.15 MB / 0.5983 GB, free: 6.219 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.518, allocations: 79.39 kB / 0.5984 GB, free: 6.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03323/0.5513, allocations: 13.16 MB / 0.6113 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5513, allocations: 0 / 0.6113 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.5513, allocations: 12 kB / 0.6113 GB, free: 11.01 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.001125/0.5525, allocations: 0.8448 MB / 0.6121 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5525, allocations: 12.03 kB / 0.6121 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.5539, allocations: 230.2 kB / 0.6123 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.5549, allocations: 495.4 kB / 0.6128 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.555, allocations: 20 kB / 0.6128 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.5551, allocations: 40 kB / 0.6129 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00116/0.5563, allocations: 0.6568 MB / 0.6135 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5576, allocations: 1.146 MB / 0.6146 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.5576, allocations: 11.88 kB / 0.6146 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.5577, allocations: 4 kB / 0.6146 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.5578, allocations: 102.3 kB / 0.6147 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5621, allocations: 5.78 MB / 0.6204 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.638e-05/0.5622, allocations: 45.39 kB / 0.6204 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.5622, allocations: 43.55 kB / 0.6205 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5623, allocations: 0 / 0.6205 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5623, allocations: 30.56 kB / 0.6205 GB, free: 2.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5623, allocations: 0 / 0.6205 GB, free: 2.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002453/0.5626, allocations: 139.5 kB / 0.6206 GB, free: 2.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.5626, allocations: 59.39 kB / 0.6207 GB, free: 2.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.5632, allocations: 0.6205 MB / 0.6213 GB, free: 1.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.5633, allocations: 29.7 kB / 0.6213 GB, free: 1.496 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.5636, allocations: 0.5418 MB / 0.6219 GB, free: 1.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.5636, allocations: 27 kB / 0.6219 GB, free: 1.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5636, allocations: 0 / 0.6219 GB, free: 1.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5638, allocations: 368.7 kB / 0.6222 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.564, allocations: 143.6 kB / 0.6224 GB, free: 0.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.5645, allocations: 0.6975 MB / 0.623 GB, free: 15.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.5648, allocations: 298.3 kB / 0.6233 GB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.5648, allocations: 4 kB / 0.6233 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009336/0.5658, allocations: 0.7221 MB / 0.624 GB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.5658, allocations: 16 kB / 0.6241 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.5658, allocations: 20 kB / 0.6241 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/0.5659, allocations: 28 kB / 0.6241 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.5663, allocations: 179.7 kB / 0.6243 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/0.5664, allocations: 43.8 kB / 0.6243 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.5669, allocations: 94.97 kB / 0.6244 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.5669, allocations: 54.67 kB / 0.6245 GB, free: 14.39 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.0001318/0.567, allocations: 166.4 kB / 0.6246 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000178/0.5672, allocations: 140.1 kB / 0.6248 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.5673, allocations: 55.33 kB / 0.6248 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.029e-05/0.5674, allocations: 66.78 kB / 0.6249 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5674, allocations: 0 / 0.6249 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5674, allocations: 0 / 0.6249 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5674, allocations: 0 / 0.6249 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.5679, allocations: 415.2 kB / 0.6253 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5679, allocations: 0 / 0.6253 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.568, allocations: 15.98 kB / 0.6253 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.568, allocations: 0 / 0.6253 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.568, allocations: 0 / 0.6253 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.568, allocations: 0 / 0.6253 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.568, allocations: 7.953 kB / 0.6253 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.5683, allocations: 232.1 kB / 0.6255 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5684, allocations: 123.5 kB / 0.6256 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.5685, allocations: 11.94 kB / 0.6256 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.5686, allocations: 8 kB / 0.6256 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.5687, allocations: 11.97 kB / 0.6257 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.5687, allocations: 7.953 kB / 0.6257 GB, free: 13.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.5692, allocations: 443.1 kB / 0.6261 GB, free: 12.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5692, allocations: 0 / 0.6261 GB, free: 12.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006706/0.5699, allocations: 155.3 kB / 0.6262 GB, free: 12.72 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.0005445/0.5705, allocations: 0.7741 MB / 0.627 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.571, allocations: 337.5 kB / 0.6273 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.571, allocations: 4.125 kB / 0.6273 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.571, allocations: 43.77 kB / 0.6274 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5715, allocations: 73.95 kB / 0.6274 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.5738, allocations: 0.9979 MB / 0.6284 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.5748, allocations: 1.04 MB / 0.6294 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005591/0.5754, allocations: 200.6 kB / 0.6296 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.5757, allocations: 252.5 kB / 0.6299 GB, free: 9.387 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5758, allocations: 0 / 0.6299 GB, free: 9.387 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.6065, allocations: 9.381 MB / 0.639 GB, free: 52 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/0.6069, allocations: 141.2 kB / 0.6391 GB, free: 15.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.625, allocations: 0 / 0.6391 GB, free: 15.85 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