Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4912/0.4912, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003558, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4199, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5612, allocations: 95.84 MB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5615, allocations: 83.94 kB / 0.6033 GB, free: 15.19 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03711/0.5987, allocations: 13.38 MB / 0.6164 GB, free: 1.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5987, allocations: 4 kB / 0.6164 GB, free: 1.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.5988, allocations: 12 kB / 0.6164 GB, free: 1.73 MB / 426.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.002248/0.6011, allocations: 0.9191 MB / 0.6173 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.6011, allocations: 12.03 kB / 0.6173 GB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003445/0.6015, allocations: 131.1 kB / 0.6174 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6026, allocations: 186.7 kB / 0.6176 GB, free: 440 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.6039, allocations: 0.5044 MB / 0.6181 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.604, allocations: 45.31 kB / 0.6181 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.6041, allocations: 63.98 kB / 0.6182 GB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.6062, allocations: 1.276 MB / 0.6194 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.6063, allocations: 7.938 kB / 0.6195 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.6064, allocations: 27.98 kB / 0.6195 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/0.6065, allocations: 104.9 kB / 0.6196 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.608, allocations: 0.8231 MB / 0.6204 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.6139, allocations: 6.008 MB / 0.6262 GB, free: 7.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.6141, allocations: 62.53 kB / 0.6263 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.6141, allocations: 3.984 kB / 0.6263 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.6142, allocations: 46.67 kB / 0.6264 GB, free: 7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.6142, allocations: 0 / 0.6264 GB, free: 7 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005937/0.6148, allocations: 221 kB / 0.6266 GB, free: 6.777 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.6149, allocations: 59.41 kB / 0.6266 GB, free: 6.707 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.6161, allocations: 0.761 MB / 0.6274 GB, free: 5.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.6161, allocations: 25.7 kB / 0.6274 GB, free: 5.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.6166, allocations: 0.536 MB / 0.6279 GB, free: 5.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.6166, allocations: 31.73 kB / 0.6279 GB, free: 5.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.6167, allocations: 12 kB / 0.628 GB, free: 5.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6169, allocations: 378.7 kB / 0.6283 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.6173, allocations: 189.9 kB / 0.6285 GB, free: 4.754 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.6181, allocations: 0.7389 MB / 0.6292 GB, free: 3.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.6186, allocations: 335.6 kB / 0.6295 GB, free: 3.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/0.6187, allocations: 8 kB / 0.6295 GB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001639/0.6203, allocations: 0.8801 MB / 0.6304 GB, free: 2.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.6204, allocations: 16 kB / 0.6304 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/0.6204, allocations: 20 kB / 0.6304 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/0.6205, allocations: 31.98 kB / 0.6305 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.621, allocations: 175.7 kB / 0.6306 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.911e-05/0.621, allocations: 39.84 kB / 0.6307 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.6218, allocations: 127.1 kB / 0.6308 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.6218, allocations: 48 kB / 0.6308 GB, free: 2.062 MB / 442.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.0006323/0.6225, allocations: 395.6 kB / 0.6312 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6226, allocations: 63.16 kB / 0.6313 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.6228, allocations: 65.45 kB / 0.6313 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6228, allocations: 0 / 0.6313 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6228, allocations: 0 / 0.6313 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6228, allocations: 4 kB / 0.6313 GB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.6237, allocations: 0.552 MB / 0.6319 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6237, allocations: 0 / 0.6319 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.6238, allocations: 15.98 kB / 0.6319 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6238, allocations: 0 / 0.6319 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6238, allocations: 0 / 0.6319 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.6238, allocations: 0 / 0.6319 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6238, allocations: 0 / 0.6319 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.6243, allocations: 286.6 kB / 0.6322 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.6245, allocations: 140.2 kB / 0.6323 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.6246, allocations: 4 kB / 0.6323 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.6248, allocations: 19.98 kB / 0.6323 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.6249, allocations: 7.984 kB / 0.6323 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.6249, allocations: 0 / 0.6323 GB, free: 436 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008366/0.6257, allocations: 0.5497 MB / 0.6329 GB, free: 15.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6258, allocations: 0 / 0.6329 GB, free: 15.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.6266, allocations: 151.5 kB / 0.633 GB, free: 15.73 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.0007829/0.6273, allocations: 0.8286 MB / 0.6338 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.6281, allocations: 428.6 kB / 0.6342 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6281, allocations: 0 / 0.6342 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.6283, allocations: 48.05 kB / 0.6343 GB, free: 14.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.6288, allocations: 107.9 kB / 0.6344 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.6455, allocations: 17.92 MB / 0.6519 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009939/0.6465, allocations: 1.038 MB / 0.6529 GB, free: 10.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006834/0.6472, allocations: 212.8 kB / 0.6531 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.6477, allocations: 255.3 kB / 0.6534 GB, free: 10.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6477, allocations: 0 / 0.6534 GB, free: 10.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.6814, allocations: 11.2 MB / 0.6643 GB, free: 15.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.6816, allocations: 173.5 kB / 0.6645 GB, free: 15.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.056, allocations: 0 / 0.6645 GB, free: 15.11 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat