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.001243/0.001243, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001477/0.001477, allocations: 215 kB / 23.78 MB, free: 4.523 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.424/1.424, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2337/0.2337, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.002703/0.002703, allocations: 79.86 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 61.04 MB / 0.5169 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009551/0.1641, allocations: 6.252 MB / 0.523 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.1693, allocations: 1.94 MB / 0.5249 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1707, allocations: 27.94 kB / 0.525 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.1727, allocations: 0.6111 MB / 0.5256 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.174, allocations: 330.3 kB / 0.5259 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1743, allocations: 43.88 kB / 0.5259 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1754, allocations: 0.6184 MB / 0.5265 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.1764, allocations: 0.5111 MB / 0.527 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.177, allocations: 310.8 kB / 0.5273 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008273/0.1779, allocations: 422.4 kB / 0.5277 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1781, allocations: 60 kB / 0.5278 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1784, allocations: 107.9 kB / 0.5279 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.1789, allocations: 390.8 kB / 0.5283 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.1794, allocations: 333.9 kB / 0.5286 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.181, allocations: 1.299 MB / 0.5298 GB, free: 9.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.181, allocations: 3.938 kB / 0.5298 GB, free: 9.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.181, allocations: 0 / 0.5298 GB, free: 9.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.235e-05/0.1811, allocations: 4 kB / 0.5298 GB, free: 9.883 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.002689/0.1838, allocations: 1.143 MB / 0.531 GB, free: 8.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1838, allocations: 12.03 kB / 0.531 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.491e-05/0.1839, allocations: 21.5 kB / 0.531 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/0.1842, allocations: 165.7 kB / 0.5312 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009029/0.1851, allocations: 160.1 kB / 0.5313 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.186, allocations: 455.7 kB / 0.5317 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.1861, allocations: 49.41 kB / 0.5318 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1862, allocations: 59.97 kB / 0.5318 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.1889, allocations: 1.743 MB / 0.5335 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.1889, allocations: 3.938 kB / 0.5336 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.189, allocations: 27.97 kB / 0.5336 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007791/0.1898, allocations: 409.1 kB / 0.534 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.1922, allocations: 1.196 MB / 0.5351 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.213/0.4052, allocations: 6.265 MB / 0.5413 GB, free: 24.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.4057, allocations: 160.4 kB / 0.5414 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.4059, allocations: 89.23 kB / 0.5415 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.406, allocations: 3.984 kB / 0.5415 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.406, allocations: 37.27 kB / 0.5415 GB, free: 24.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.406, allocations: 0 / 0.5415 GB, free: 24.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008898/0.4069, allocations: 370.6 kB / 0.5419 GB, free: 24.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4069, allocations: 57.14 kB / 0.5419 GB, free: 24.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4082, allocations: 0.9668 MB / 0.5429 GB, free: 24.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.4082, allocations: 28.45 kB / 0.5429 GB, free: 24.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.4086, allocations: 0.7118 MB / 0.5436 GB, free: 23.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.4086, allocations: 60.44 kB / 0.5437 GB, free: 23.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.4089, allocations: 221.3 kB / 0.5439 GB, free: 23.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.409, allocations: 390.1 kB / 0.5442 GB, free: 23.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.4094, allocations: 261.9 kB / 0.5445 GB, free: 23.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007047/0.4101, allocations: 0.9543 MB / 0.5454 GB, free: 22.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.4113, allocations: 1.298 MB / 0.5467 GB, free: 21.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.4113, allocations: 9.688 kB / 0.5467 GB, free: 21.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001892/0.4132, allocations: 1.169 MB / 0.5478 GB, free: 20.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.4133, allocations: 14.88 kB / 0.5479 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.4133, allocations: 27.44 kB / 0.5479 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/0.4133, allocations: 33.58 kB / 0.5479 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/0.4141, allocations: 249.9 kB / 0.5482 GB, free: 20.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/0.4141, allocations: 49.33 kB / 0.5482 GB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.4149, allocations: 165.7 kB / 0.5484 GB, free: 20.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.415, allocations: 66.09 kB / 0.5484 GB, free: 20.74 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.0005834/0.4155, allocations: 469.7 kB / 0.5489 GB, free: 20.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4156, allocations: 77.95 kB / 0.5489 GB, free: 20.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.4163, allocations: 314.8 kB / 0.5492 GB, free: 20.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4163, allocations: 1.406 kB / 0.5492 GB, free: 20.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4163, allocations: 7.609 kB / 0.5493 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4163, allocations: 1.641 kB / 0.5493 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.4172, allocations: 0.6703 MB / 0.5499 GB, free: 19.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4172, allocations: 1.312 kB / 0.5499 GB, free: 19.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4174, allocations: 31.52 kB / 0.5499 GB, free: 19.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4174, allocations: 5.594 kB / 0.5499 GB, free: 19.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4174, allocations: 6.531 kB / 0.55 GB, free: 19.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4174, allocations: 1.062 kB / 0.55 GB, free: 19.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4175, allocations: 3.938 kB / 0.55 GB, free: 19.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.418, allocations: 393.6 kB / 0.5503 GB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.4182, allocations: 71.81 kB / 0.5504 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.4182, allocations: 1.781 kB / 0.5504 GB, free: 19.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.4185, allocations: 20.34 kB / 0.5504 GB, free: 19.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.4186, allocations: 22.56 kB / 0.5504 GB, free: 19.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4186, allocations: 3.609 kB / 0.5504 GB, free: 19.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.4194, allocations: 0.6248 MB / 0.5511 GB, free: 19.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4194, allocations: 0 / 0.5511 GB, free: 19.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4205, allocations: 221.3 kB / 0.5513 GB, free: 19.4 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.0008128/0.4213, allocations: 0.9236 MB / 0.5522 GB, free: 18.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4224, allocations: 0.582 MB / 0.5527 GB, free: 18.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4224, allocations: 3.469 kB / 0.5527 GB, free: 18.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.4226, allocations: 96.11 kB / 0.5528 GB, free: 18.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.4232, allocations: 91.34 kB / 0.5529 GB, free: 18.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.4339, allocations: 7.784 MB / 0.5605 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.4346, allocations: 0.5513 MB / 0.5611 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007089/0.4353, allocations: 278.5 kB / 0.5613 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.4356, allocations: 350.9 kB / 0.5617 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4356, allocations: 0 / 0.5617 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04638/0.482, allocations: 14.14 MB / 0.5755 GB, free: 7.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.73, allocations: 14.62 kB / 0.5755 GB, free: 7.812 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.62688320397865] Failed to read output from testmodel.py, exit status != 0: 13.909311278024688 13.93061388 13.74413749 Calling exit ...