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.001429/0.001429, allocations: 72.7 kB / 19.93 MB, free: 1.77 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.001818/0.001818, allocations: 170.6 kB / 23.22 MB, free: 4.887 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.533/1.533, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.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.2229/0.2229, allocations: 32.38 MB / 269.6 MB, free: 2.723 MB / 254.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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 407.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.661e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008996/0.009022, allocations: 6.299 MB / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.01414, allocations: 1.944 MB / 415.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.01526, allocations: 35.88 kB / 415.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.01708, allocations: 0.6306 MB / 416.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.01823, allocations: 337.8 kB / 416.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.01848, allocations: 47.86 kB / 416.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.01947, allocations: 0.6299 MB / 417.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009232/0.0204, allocations: 0.5266 MB / 417.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.02127, allocations: 442.8 kB / 418.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.02226, allocations: 374.9 kB / 418.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.0225, allocations: 56 kB / 418.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.02296, allocations: 119.9 kB / 418.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.02354, allocations: 402.8 kB / 419.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005945/0.02413, allocations: 255.1 kB / 419.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.02592, allocations: 1.265 MB / 420.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02592, allocations: 3.938 kB / 420.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.02592, allocations: 0 / 420.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.412e-05/0.02597, allocations: 0 / 420.7 MB, free: 3.449 MB / 350.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.002878/0.02885, allocations: 1.131 MB / 421.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.0289, allocations: 8.031 kB / 421.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.03008, allocations: 200 kB / 422 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.03113, allocations: 454.9 kB / 422.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.03121, allocations: 45.66 kB / 422.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.03135, allocations: 60.33 kB / 422.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.0348, allocations: 1.728 MB / 424.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.03484, allocations: 11.88 kB / 424.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/0.03494, allocations: 31.95 kB / 424.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008476/0.03578, allocations: 385.2 kB / 424.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.0386, allocations: 1.161 MB / 425.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008961/0.04756, allocations: 5.994 MB / 431.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.04807, allocations: 154.5 kB / 432 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.04831, allocations: 100.7 kB / 432.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.04835, allocations: 4 kB / 432.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.04839, allocations: 38.61 kB / 432.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.04839, allocations: 0 / 432.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009129/0.0493, allocations: 356.9 kB / 432.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.04936, allocations: 55.41 kB / 432.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.05056, allocations: 0.8707 MB / 433.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.0506, allocations: 29.69 kB / 433.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/0.05121, allocations: 0.724 MB / 434.2 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.05129, allocations: 59.62 kB / 434.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.0516, allocations: 214.4 kB / 434.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.05189, allocations: 382.8 kB / 434.8 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.05265, allocations: 261.8 kB / 435.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.05417, allocations: 0.9449 MB / 436 MB, free: 3.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.05625, allocations: 1.305 MB / 437.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.05627, allocations: 8 kB / 437.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002281/0.05856, allocations: 1.154 MB / 438.5 MB, free: 416 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.05859, allocations: 16 kB / 438.5 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.05862, allocations: 24 kB / 438.5 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.907e-05/0.05867, allocations: 35.94 kB / 438.6 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.05943, allocations: 251.5 kB / 438.8 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-05/0.05948, allocations: 43.86 kB / 438.8 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.06031, allocations: 147.2 kB / 439 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.06039, allocations: 75.86 kB / 439.1 MB, free: 15.82 MB / 382.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.0007601/0.06115, allocations: 475.2 kB / 439.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.06127, allocations: 67.56 kB / 439.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/0.06203, allocations: 299.3 kB / 439.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.06203, allocations: 7.75 kB / 439.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.06204, allocations: 3.984 kB / 439.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.06204, allocations: 0 / 439.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.06277, allocations: 480.9 kB / 440.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.06277, allocations: 0 / 440.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.06297, allocations: 35.95 kB / 440.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.06297, allocations: 0 / 440.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.063, allocations: 8 kB / 440.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.063, allocations: 0 / 440.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.06301, allocations: 3.938 kB / 440.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.06372, allocations: 378.9 kB / 440.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.06382, allocations: 55.56 kB / 440.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.06389, allocations: 4 kB / 440.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.06414, allocations: 15.98 kB / 440.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.06421, allocations: 15.91 kB / 440.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.06422, allocations: 4 kB / 440.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.06493, allocations: 0.5302 MB / 441.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06493, allocations: 0 / 441.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009863/0.06591, allocations: 235.2 kB / 441.6 MB, free: 13.19 MB / 382.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.0001682/0.06608, allocations: 95.25 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.06725, allocations: 0.5794 MB / 442.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.06726, allocations: 0 / 442.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.06753, allocations: 104.2 kB / 442.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.06801, allocations: 69.16 kB / 442.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.07079, allocations: 1.531 MB / 444 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.07151, allocations: 0.5535 MB / 444.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000607/0.07212, allocations: 265.3 kB / 444.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.07224, allocations: 44.48 kB / 444.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.07224, allocations: 0 / 444.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of Templates: time 0.01213/0.08437, allocations: 4.548 MB / 449.4 MB, free: 5.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.375762600451708] Failed to read output from testmodel.py, exit status != 0: 0.09407263249158859 0.345101247 0.31524699 Calling exit ...