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.001294/0.001294, allocations: 109 kB / 20.48 MB, free: 1.477 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.001468/0.001468, allocations: 207.6 kB / 23.78 MB, free: 4.688 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.41/1.41, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2147/0.2147, allocations: 44.25 MB / 331.1 MB, free: 9.508 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",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.00223/0.00223, allocations: 64.42 kB / 468.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1167, allocations: 61.05 MB / 0.5169 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008703/0.1254, allocations: 7.116 MB / 0.5239 GB, free: 144 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.1296, allocations: 2.069 MB / 0.5259 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006503/0.1303, allocations: 27.94 kB / 0.5259 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.1318, allocations: 0.6384 MB / 0.5266 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009066/0.1327, allocations: 322.3 kB / 0.5269 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1329, allocations: 51.86 kB / 0.5269 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000868/0.1338, allocations: 0.6145 MB / 0.5275 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/0.1345, allocations: 0.5112 MB / 0.528 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.135, allocations: 306.8 kB / 0.5283 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.1357, allocations: 426.3 kB / 0.5287 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1358, allocations: 60 kB / 0.5288 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.1361, allocations: 111.9 kB / 0.5289 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.1365, allocations: 386.8 kB / 0.5292 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.137, allocations: 457.1 kB / 0.5297 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.1386, allocations: 1.283 MB / 0.5309 GB, free: 8.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1386, allocations: 3.938 kB / 0.5309 GB, free: 8.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1386, allocations: 4 kB / 0.5309 GB, free: 8.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.1386, allocations: 0 / 0.5309 GB, free: 8.887 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.002062/0.1406, allocations: 1.151 MB / 0.5321 GB, free: 7.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1407, allocations: 8.031 kB / 0.5321 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.426e-05/0.1407, allocations: 21.5 kB / 0.5321 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.1409, allocations: 173.6 kB / 0.5323 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.1417, allocations: 160.1 kB / 0.5324 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1425, allocations: 447.7 kB / 0.5328 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.1425, allocations: 49.41 kB / 0.5329 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.1426, allocations: 63.97 kB / 0.5329 GB, free: 6.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.1451, allocations: 1.739 MB / 0.5346 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.1451, allocations: 7.938 kB / 0.5347 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.1452, allocations: 27.97 kB / 0.5347 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008083/0.146, allocations: 409.1 kB / 0.5351 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.1484, allocations: 1.192 MB / 0.5362 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/0.3603, allocations: 6.514 MB / 0.5426 GB, free: 24.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.3608, allocations: 166.3 kB / 0.5428 GB, free: 24.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.361, allocations: 89.7 kB / 0.5428 GB, free: 24.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3611, allocations: 1.797 kB / 0.5428 GB, free: 24.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3611, allocations: 40.75 kB / 0.5429 GB, free: 24.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.3611, allocations: 0 / 0.5429 GB, free: 24.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000896/0.362, allocations: 370.2 kB / 0.5432 GB, free: 24.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.362, allocations: 53.84 kB / 0.5433 GB, free: 24.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.3632, allocations: 0.963 MB / 0.5442 GB, free: 23.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3632, allocations: 33.98 kB / 0.5443 GB, free: 23.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.3636, allocations: 0.7052 MB / 0.5449 GB, free: 23.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.3636, allocations: 66.94 kB / 0.545 GB, free: 23.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.3639, allocations: 222.6 kB / 0.5452 GB, free: 23.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.364, allocations: 389.8 kB / 0.5456 GB, free: 23.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.3644, allocations: 262.2 kB / 0.5458 GB, free: 23.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.3652, allocations: 0.9507 MB / 0.5468 GB, free: 22.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.3664, allocations: 1.3 MB / 0.548 GB, free: 21.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.3664, allocations: 8.25 kB / 0.548 GB, free: 21.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001805/0.3682, allocations: 1.168 MB / 0.5492 GB, free: 20.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.3682, allocations: 16.53 kB / 0.5492 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.3683, allocations: 25.78 kB / 0.5492 GB, free: 20.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-05/0.3683, allocations: 36.5 kB / 0.5493 GB, free: 20.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.369, allocations: 247.9 kB / 0.5495 GB, free: 20.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.645e-05/0.3691, allocations: 46.45 kB / 0.5495 GB, free: 20.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/0.3699, allocations: 161.2 kB / 0.5497 GB, free: 20.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.37, allocations: 65.14 kB / 0.5498 GB, free: 20.55 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.0006293/0.3706, allocations: 479.4 kB / 0.5502 GB, free: 20.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3707, allocations: 77.95 kB / 0.5503 GB, free: 20.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/0.3714, allocations: 314.8 kB / 0.5506 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3714, allocations: 2.156 kB / 0.5506 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3714, allocations: 0 / 0.5506 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3714, allocations: 1.766 kB / 0.5506 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3726, allocations: 0.7129 MB / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3726, allocations: 1.812 kB / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3728, allocations: 30.69 kB / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3728, allocations: 4.531 kB / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3728, allocations: 6.609 kB / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3728, allocations: 0 / 0.5513 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3728, allocations: 6.078 kB / 0.5513 GB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.3735, allocations: 392.3 kB / 0.5517 GB, free: 19.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3736, allocations: 67.66 kB / 0.5518 GB, free: 19.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.3737, allocations: 9.344 kB / 0.5518 GB, free: 19.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.374, allocations: 20.27 kB / 0.5518 GB, free: 19.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.374, allocations: 13.41 kB / 0.5518 GB, free: 19.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.374, allocations: 10.38 kB / 0.5518 GB, free: 19.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006853/0.3747, allocations: 0.6234 MB / 0.5524 GB, free: 19.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3747, allocations: 1.094 kB / 0.5524 GB, free: 19.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009191/0.3756, allocations: 219.9 kB / 0.5526 GB, free: 19.18 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.0007702/0.3764, allocations: 0.9281 MB / 0.5536 GB, free: 18.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3775, allocations: 0.5765 MB / 0.5541 GB, free: 18.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3775, allocations: 5.344 kB / 0.5541 GB, free: 18.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.3777, allocations: 99.53 kB / 0.5542 GB, free: 18.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.3783, allocations: 81.25 kB / 0.5543 GB, free: 18.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.3885, allocations: 7.783 MB / 0.5619 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.3892, allocations: 1.155 MB / 0.563 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007405/0.3899, allocations: 275.6 kB / 0.5633 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.3903, allocations: 355.1 kB / 0.5636 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3903, allocations: 0 / 0.5636 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.4302, allocations: 14.36 MB / 0.5777 GB, free: 6.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.99, allocations: 12.53 kB / 0.5777 GB, free: 6.715 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.799671563028824] Failed to read output from testmodel.py, exit status != 0: 13.158369557990227 13.17154117 13.029642024 Calling exit ...