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.001513/0.001513, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001773/0.001773, allocations: 209.6 kB / 23.74 MB, free: 4.543 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.55/1.55, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2409/0.2409, 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: 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: 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.002354/0.002354, allocations: 67.91 kB / 468.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 61.05 MB / 0.5174 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008782/0.1459, allocations: 6.288 MB / 0.5235 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.1507, allocations: 1.936 MB / 0.5254 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007178/0.1514, allocations: 35.88 kB / 0.5255 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.153, allocations: 0.6111 MB / 0.5261 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008428/0.1538, allocations: 334.3 kB / 0.5264 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.154, allocations: 47.89 kB / 0.5264 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007097/0.1547, allocations: 0.6107 MB / 0.527 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007296/0.1555, allocations: 0.5111 MB / 0.5275 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.1559, allocations: 306.8 kB / 0.5278 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.1565, allocations: 402.4 kB / 0.5282 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1566, allocations: 60 kB / 0.5283 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.157, allocations: 107.9 kB / 0.5284 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.1573, allocations: 386.8 kB / 0.5287 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.1577, allocations: 337.8 kB / 0.529 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1591, allocations: 1.303 MB / 0.5303 GB, free: 9.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1591, allocations: 0 / 0.5303 GB, free: 9.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1591, allocations: 0 / 0.5303 GB, free: 9.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.1592, allocations: 0 / 0.5303 GB, free: 9.34 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.002038/0.1612, allocations: 1.147 MB / 0.5314 GB, free: 8.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1612, allocations: 12.03 kB / 0.5315 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.162, allocations: 156.1 kB / 0.5316 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/0.1629, allocations: 455.6 kB / 0.532 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.1629, allocations: 45.66 kB / 0.5321 GB, free: 7.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.163, allocations: 68.09 kB / 0.5321 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.1655, allocations: 1.743 MB / 0.5338 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.1655, allocations: 3.938 kB / 0.5339 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.1656, allocations: 35.97 kB / 0.5339 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007619/0.1664, allocations: 401.2 kB / 0.5343 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.1684, allocations: 1.192 MB / 0.5354 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2513/0.4197, allocations: 5.999 MB / 0.5413 GB, free: 24.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.4201, allocations: 167.6 kB / 0.5415 GB, free: 24.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.4203, allocations: 91.97 kB / 0.5415 GB, free: 24.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4204, allocations: 3.172 kB / 0.5415 GB, free: 24.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4204, allocations: 32.86 kB / 0.5416 GB, free: 24.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.4204, allocations: 0 / 0.5416 GB, free: 24.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008735/0.4213, allocations: 365.6 kB / 0.5419 GB, free: 24.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.4213, allocations: 53.34 kB / 0.542 GB, free: 24.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/0.4223, allocations: 0.8655 MB / 0.5428 GB, free: 24.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4223, allocations: 29.45 kB / 0.5428 GB, free: 24.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.4227, allocations: 0.7286 MB / 0.5436 GB, free: 23.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.4228, allocations: 60.27 kB / 0.5436 GB, free: 23.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.423, allocations: 220.9 kB / 0.5438 GB, free: 23.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4231, allocations: 380.1 kB / 0.5442 GB, free: 23.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.4236, allocations: 263.6 kB / 0.5444 GB, free: 23.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.4243, allocations: 0.945 MB / 0.5454 GB, free: 22.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.4256, allocations: 1.296 MB / 0.5466 GB, free: 21.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.4256, allocations: 10.81 kB / 0.5466 GB, free: 21.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001882/0.4275, allocations: 1.162 MB / 0.5478 GB, free: 20.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.4275, allocations: 16.38 kB / 0.5478 GB, free: 20.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.4275, allocations: 25.16 kB / 0.5478 GB, free: 20.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.343e-05/0.4276, allocations: 36.05 kB / 0.5478 GB, free: 20.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.4283, allocations: 249.4 kB / 0.5481 GB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.77e-05/0.4284, allocations: 53.56 kB / 0.5481 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/0.4291, allocations: 144.5 kB / 0.5483 GB, free: 20.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.4292, allocations: 65.28 kB / 0.5483 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.0005942/0.4298, allocations: 471.4 kB / 0.5488 GB, free: 20.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.4299, allocations: 70.17 kB / 0.5489 GB, free: 20.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4305, allocations: 307.9 kB / 0.5491 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4305, allocations: 1.406 kB / 0.5491 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4306, allocations: 0.7031 kB / 0.5491 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4306, allocations: 1.641 kB / 0.5491 GB, free: 20.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.4313, allocations: 486.1 kB / 0.5496 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4313, allocations: 1.062 kB / 0.5496 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.4314, allocations: 36.08 kB / 0.5496 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4314, allocations: 1.469 kB / 0.5496 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4315, allocations: 2.656 kB / 0.5497 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4315, allocations: 0 / 0.5497 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4315, allocations: 4.5 kB / 0.5497 GB, free: 20.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.432, allocations: 384.5 kB / 0.55 GB, free: 19.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.4321, allocations: 60.16 kB / 0.5501 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.4322, allocations: 1.094 kB / 0.5501 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4324, allocations: 24.55 kB / 0.5501 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.4325, allocations: 13.31 kB / 0.5501 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.4325, allocations: 4.484 kB / 0.5501 GB, free: 19.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006085/0.4331, allocations: 0.5222 MB / 0.5506 GB, free: 19.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4331, allocations: 0 / 0.5506 GB, free: 19.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008989/0.434, allocations: 241.6 kB / 0.5509 GB, free: 19.51 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.0001215/0.4341, allocations: 95.16 kB / 0.551 GB, free: 19.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4352, allocations: 0.5834 MB / 0.5515 GB, free: 19.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4352, allocations: 0 / 0.5515 GB, free: 19.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.4355, allocations: 105.7 kB / 0.5516 GB, free: 19.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.4359, allocations: 64.27 kB / 0.5517 GB, free: 19.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.4385, allocations: 1.669 MB / 0.5533 GB, free: 18.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/0.4392, allocations: 0.5504 MB / 0.5539 GB, free: 18.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4393, allocations: 58.27 kB / 0.5539 GB, free: 18.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4393, allocations: 0 / 0.5539 GB, free: 18.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01988/0.4592, allocations: 10.29 MB / 0.564 GB, free: 15.46 MB / 414.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: 8.601303928997368] Failed to read output from testmodel.py, exit status != 0: 0.4678165717050433 0.47883477999999996 0.317171713 Calling exit ...