Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 80.53 kB / 19.92 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 177.2 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8862/0.8862, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.138/0.138, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.092e-05, allocations: 2.281 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.005377/0.005408, allocations: 6.299 MB / 413.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.009004, allocations: 1.952 MB / 415.1 MB, free: 9.961 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.009562, allocations: 27.94 kB / 415.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.01054, allocations: 0.6344 MB / 415.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.01112, allocations: 330 kB / 416.1 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.01128, allocations: 59.73 kB / 416.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.01174, allocations: 0.626 MB / 416.7 MB, free: 8.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004743/0.01221, allocations: 0.5227 MB / 417.3 MB, free: 7.758 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.01257, allocations: 438.8 kB / 417.7 MB, free: 7.328 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.01296, allocations: 374.9 kB / 418.1 MB, free: 6.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.01302, allocations: 56 kB / 418.1 MB, free: 6.906 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.0132, allocations: 119.9 kB / 418.2 MB, free: 6.789 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.01343, allocations: 402.8 kB / 418.6 MB, free: 6.395 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.0136, allocations: 255.1 kB / 418.9 MB, free: 6.145 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.01448, allocations: 1.265 MB / 420.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01448, allocations: 0 / 420.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01448, allocations: 0 / 420.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.01449, allocations: 0 / 420.1 MB, free: 4.875 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.001632/0.01613, allocations: 1.139 MB / 421.3 MB, free: 3.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.01617, allocations: 12.03 kB / 421.3 MB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.01631, allocations: 161.7 kB / 421.5 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.01681, allocations: 200 kB / 421.6 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.01728, allocations: 450.9 kB / 422.1 MB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.01732, allocations: 45.66 kB / 422.1 MB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.01738, allocations: 64.28 kB / 422.2 MB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.01872, allocations: 1.728 MB / 423.9 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01874, allocations: 7.938 kB / 423.9 MB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.01878, allocations: 27.97 kB / 424 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003745/0.01916, allocations: 389.2 kB / 424.3 MB, free: 480 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.02042, allocations: 1.164 MB / 425.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.02502, allocations: 6.255 MB / 431.8 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.02528, allocations: 158.5 kB / 431.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.0254, allocations: 96.78 kB / 432 MB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.02542, allocations: 4 kB / 432 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.02545, allocations: 34.56 kB / 432 MB, free: 8.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.474e-06/0.02545, allocations: 0 / 432 MB, free: 8.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.00054/0.02599, allocations: 377.2 kB / 432.4 MB, free: 8.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.02602, allocations: 59.41 kB / 432.5 MB, free: 8.047 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.02678, allocations: 1.004 MB / 433.5 MB, free: 7.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.0268, allocations: 25.7 kB / 433.5 MB, free: 7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.02711, allocations: 0.7085 MB / 434.2 MB, free: 6.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.02715, allocations: 63.61 kB / 434.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02732, allocations: 218.4 kB / 434.5 MB, free: 6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.02744, allocations: 386.8 kB / 434.9 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.02771, allocations: 261.8 kB / 435.1 MB, free: 5.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.02848, allocations: 0.9487 MB / 436.1 MB, free: 4.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.02939, allocations: 1.301 MB / 437.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.0294, allocations: 11.94 kB / 437.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001146/0.03054, allocations: 1.169 MB / 438.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.03057, allocations: 19.94 kB / 438.6 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.03059, allocations: 24 kB / 438.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.03062, allocations: 32 kB / 438.6 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.03103, allocations: 247.5 kB / 438.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.03106, allocations: 51.78 kB / 438.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.03152, allocations: 162.8 kB / 439.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.03157, allocations: 68.28 kB / 439.1 MB, free: 0.625 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.03203, allocations: 475 kB / 439.6 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.03209, allocations: 79.42 kB / 439.7 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.03251, allocations: 316.4 kB / 440 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.03252, allocations: 3.938 kB / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.03252, allocations: 0 / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.03252, allocations: 0 / 440 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.03311, allocations: 0.672 MB / 440.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.03311, allocations: 4 kB / 440.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.29e-05/0.03321, allocations: 27.97 kB / 440.7 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.03321, allocations: 7.938 kB / 440.7 MB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.03322, allocations: 7.938 kB / 440.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.03322, allocations: 4 kB / 440.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.03323, allocations: 0 / 440.7 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.03356, allocations: 387 kB / 441.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.03364, allocations: 79.44 kB / 441.2 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.03368, allocations: 3.938 kB / 441.2 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.03381, allocations: 11.98 kB / 441.2 MB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.03386, allocations: 19.97 kB / 441.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.03387, allocations: 4 kB / 441.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004841/0.03435, allocations: 0.6239 MB / 441.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.03435, allocations: 0 / 441.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007345/0.03509, allocations: 215.5 kB / 442 MB, free: 13.64 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005915/0.03568, allocations: 0.9343 MB / 443 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.03632, allocations: 0.5798 MB / 443.6 MB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.03632, allocations: 4 kB / 443.6 MB, free: 12.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.03644, allocations: 99.84 kB / 443.7 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.03681, allocations: 83.27 kB / 443.7 MB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.04346, allocations: 7.725 MB / 451.5 MB, free: 3.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.04387, allocations: 0.5539 MB / 452 MB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.04427, allocations: 274 kB / 452.3 MB, free: 2.547 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.04454, allocations: 348.4 kB / 452.6 MB, free: 2.207 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/0.04455, allocations: 0 / 452.6 MB, free: 2.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.06915, allocations: 14.23 MB / 466.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.833, allocations: 8 kB / 466.9 MB, free: 3.949 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.936002518050373] Failed to read output from testmodel.py, exit status != 0: 6.916905343532562 7.090825612 7.074947381 Calling exit ...