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.001765/0.001765, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 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.002348/0.002348, allocations: 224.7 kB / 23.01 MB, free: 5.039 MB / 14.72 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 1.46/1.46, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.2211/0.2211, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003337/0.003337, allocations: 67.91 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1286, allocations: 61.04 MB / 0.5162 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009248/0.1378, allocations: 7.117 MB / 0.5231 GB, free: 164 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.1422, allocations: 2.069 MB / 0.5251 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006564/0.1429, allocations: 31.94 kB / 0.5252 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.1445, allocations: 0.6383 MB / 0.5258 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008843/0.1454, allocations: 322.3 kB / 0.5261 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1456, allocations: 51.89 kB / 0.5261 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.1464, allocations: 0.6107 MB / 0.5267 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.1471, allocations: 0.5228 MB / 0.5273 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.1475, allocations: 302.8 kB / 0.5275 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.1481, allocations: 426.4 kB / 0.5279 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.1482, allocations: 56 kB / 0.528 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1486, allocations: 115.9 kB / 0.5281 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.149, allocations: 382.8 kB / 0.5285 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.1494, allocations: 461.1 kB / 0.5289 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1509, allocations: 1.287 MB / 0.5302 GB, free: 8.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1509, allocations: 0 / 0.5302 GB, free: 8.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1509, allocations: 0 / 0.5302 GB, free: 8.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.1509, allocations: 0 / 0.5302 GB, free: 8.902 MB / 414.1 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.002041/0.1529, allocations: 1.151 MB / 0.5313 GB, free: 7.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.153, allocations: 12.02 kB / 0.5313 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.1532, allocations: 161.7 kB / 0.5315 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.1539, allocations: 160.1 kB / 0.5316 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.1546, allocations: 447.7 kB / 0.532 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.1547, allocations: 45.66 kB / 0.5321 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.1548, allocations: 63.91 kB / 0.5321 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.1571, allocations: 1.743 MB / 0.5339 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.1571, allocations: 7.938 kB / 0.5339 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.1572, allocations: 31.97 kB / 0.5339 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007138/0.1579, allocations: 405.1 kB / 0.5343 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.16, allocations: 1.196 MB / 0.5354 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2292/0.3892, allocations: 6.516 MB / 0.5418 GB, free: 24.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.3896, allocations: 163.7 kB / 0.542 GB, free: 24.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3898, allocations: 91.75 kB / 0.542 GB, free: 24.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3899, allocations: 7.531 kB / 0.5421 GB, free: 24.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3899, allocations: 35.47 kB / 0.5421 GB, free: 24.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.3899, allocations: 0 / 0.5421 GB, free: 24.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007987/0.3907, allocations: 365.9 kB / 0.5424 GB, free: 23.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3907, allocations: 60.72 kB / 0.5425 GB, free: 23.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3918, allocations: 0.9726 MB / 0.5434 GB, free: 23.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3918, allocations: 30.55 kB / 0.5435 GB, free: 23.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.3921, allocations: 0.7075 MB / 0.5442 GB, free: 23.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.3922, allocations: 67.06 kB / 0.5442 GB, free: 23.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.3924, allocations: 217.7 kB / 0.5444 GB, free: 23.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3926, allocations: 389.7 kB / 0.5448 GB, free: 22.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.393, allocations: 264.6 kB / 0.5451 GB, free: 22.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.3937, allocations: 0.9462 MB / 0.546 GB, free: 22.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.3948, allocations: 1.296 MB / 0.5473 GB, free: 21.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.3949, allocations: 6.875 kB / 0.5473 GB, free: 21.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001709/0.3966, allocations: 1.171 MB / 0.5484 GB, free: 20.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.3966, allocations: 15.56 kB / 0.5484 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.3966, allocations: 24.75 kB / 0.5484 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.532e-05/0.3967, allocations: 32.89 kB / 0.5485 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.3974, allocations: 248.4 kB / 0.5487 GB, free: 20.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-05/0.3974, allocations: 54.7 kB / 0.5488 GB, free: 20.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.3981, allocations: 161.7 kB / 0.5489 GB, free: 20.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.3982, allocations: 65.12 kB / 0.549 GB, free: 20.47 MB / 414.1 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.0005148/0.3987, allocations: 471 kB / 0.5494 GB, free: 20.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.3988, allocations: 77.16 kB / 0.5495 GB, free: 20.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006267/0.3994, allocations: 315.1 kB / 0.5498 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3994, allocations: 3.531 kB / 0.5498 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3994, allocations: 4.734 kB / 0.5498 GB, free: 20.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3994, allocations: 0.7969 kB / 0.5498 GB, free: 20.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.4004, allocations: 0.7062 MB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.4004, allocations: 1.062 kB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.4006, allocations: 40.77 kB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4006, allocations: 0.5156 kB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4006, allocations: 2.594 kB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4006, allocations: 1.25 kB / 0.5505 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4006, allocations: 4.5 kB / 0.5505 GB, free: 19.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.4011, allocations: 399.5 kB / 0.5509 GB, free: 19.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.4013, allocations: 76.44 kB / 0.551 GB, free: 19.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.4013, allocations: 1.156 kB / 0.551 GB, free: 19.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.4016, allocations: 16.55 kB / 0.551 GB, free: 19.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.4016, allocations: 17.12 kB / 0.551 GB, free: 19.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4016, allocations: 4.203 kB / 0.551 GB, free: 19.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007186/0.4024, allocations: 0.6259 MB / 0.5517 GB, free: 19.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4024, allocations: 1.25 kB / 0.5517 GB, free: 19.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008996/0.4033, allocations: 227.8 kB / 0.5519 GB, free: 19.11 MB / 414.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 (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.0007366/0.404, allocations: 0.9154 MB / 0.5528 GB, free: 18.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.405, allocations: 0.5802 MB / 0.5533 GB, free: 18.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.405, allocations: 0 / 0.5533 GB, free: 18.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4053, allocations: 104 kB / 0.5534 GB, free: 18.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.4058, allocations: 89.08 kB / 0.5535 GB, free: 18.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.4147, allocations: 7.787 MB / 0.5611 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.4154, allocations: 1.148 MB / 0.5622 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006897/0.4161, allocations: 278.3 kB / 0.5625 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.4165, allocations: 350.1 kB / 0.5628 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.854e-06/0.4165, allocations: 0 / 0.5628 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.4613, allocations: 14.34 MB / 0.5768 GB, free: 6.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.97, allocations: 10.03 kB / 0.5768 GB, free: 6.676 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.784404271980748] Failed to read output from testmodel.py, exit status != 0: 13.092768842820078 13.104841994 12.950323192 Calling exit ...