Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.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.00131/0.00131, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001582/0.001582, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.434/1.434, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2166/0.2166, allocations: 44.27 MB / 330.3 MB, free: 9.305 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.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",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.003325/0.003325, allocations: 67.91 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1356, allocations: 61.05 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0127/0.1483, allocations: 9.847 MB / 0.5258 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006348/0.1547, allocations: 2.68 MB / 0.5284 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.1563, allocations: 63.81 kB / 0.5284 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.1592, allocations: 1.284 MB / 0.5297 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.1624, allocations: 1.272 MB / 0.5309 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1628, allocations: 75.89 kB / 0.531 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.1667, allocations: 2.757 MB / 0.5337 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.1691, allocations: 1.668 MB / 0.5353 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.1711, allocations: 1.07 MB / 0.5364 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.1736, allocations: 1.541 MB / 0.5379 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000552/0.1741, allocations: 208 kB / 0.5381 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1752, allocations: 411.5 kB / 0.5385 GB, free: 196 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2232/0.3984, allocations: 1.442 MB / 0.5399 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.4002, allocations: 1.213 MB / 0.5411 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006927/0.4072, allocations: 5.529 MB / 0.5465 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4072, allocations: 1.375 kB / 0.5465 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4072, allocations: 0 / 0.5465 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.4074, allocations: 0.6094 kB / 0.5465 GB, free: 10.88 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.008286/0.4157, allocations: 3.637 MB / 0.55 GB, free: 9.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4157, allocations: 9.375 kB / 0.55 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001336/0.4171, allocations: 0.6672 MB / 0.5507 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4275, allocations: 2.964 MB / 0.5536 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.4323, allocations: 1.491 MB / 0.555 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4324, allocations: 178 kB / 0.5552 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.4335, allocations: 225.3 kB / 0.5554 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.4485, allocations: 9.471 MB / 0.5647 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.4486, allocations: 18.88 kB / 0.5647 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003861/0.449, allocations: 109.9 kB / 0.5648 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003426/0.4524, allocations: 2.37 MB / 0.5671 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.4686, allocations: 8.65 MB / 0.5755 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04999/0.5186, allocations: 27.65 MB / 0.6025 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005029/0.5236, allocations: 2.033 MB / 0.6045 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.5251, allocations: 0.9009 MB / 0.6054 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009076/0.5342, allocations: 3.781 MB / 0.6091 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.5342, allocations: 41.19 kB / 0.6091 GB, free: 2.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/0.5343, allocations: 0 / 0.6091 GB, free: 2.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006578/0.5408, allocations: 2.747 MB / 0.6118 GB, free: 15.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.5409, allocations: 64.05 kB / 0.6119 GB, free: 15.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/0.5467, allocations: 2.744 MB / 0.6146 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.5469, allocations: 37.7 kB / 0.6146 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.5496, allocations: 2.758 MB / 0.6173 GB, free: 9.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008763/0.5505, allocations: 0.5066 MB / 0.6178 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.5521, allocations: 0.9098 MB / 0.6187 GB, free: 8.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.5523, allocations: 357.9 kB / 0.619 GB, free: 8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.5546, allocations: 1.359 MB / 0.6204 GB, free: 6.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/0.5596, allocations: 4.114 MB / 0.6244 GB, free: 1.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/0.5674, allocations: 5.961 MB / 0.6302 GB, free: 10.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-05/0.5675, allocations: 32 kB / 0.6302 GB, free: 10.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01126/0.5788, allocations: 5.296 MB / 0.6354 GB, free: 5.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/0.5789, allocations: 51.98 kB / 0.6354 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.579, allocations: 96 kB / 0.6355 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.5792, allocations: 131.9 kB / 0.6357 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.5826, allocations: 0.9753 MB / 0.6366 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/0.5828, allocations: 191.2 kB / 0.6368 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.5864, allocations: 0.6182 MB / 0.6374 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008346/0.5873, allocations: 279.3 kB / 0.6377 GB, free: 2.699 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.004158/0.5914, allocations: 1.885 MB / 0.6395 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.5919, allocations: 232.7 kB / 0.6397 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.5925, allocations: 275.4 kB / 0.64 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.5925, allocations: 18.58 kB / 0.64 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5925, allocations: 0 / 0.64 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5925, allocations: 7.984 kB / 0.64 GB, free: 288 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6034, allocations: 5.45 MB / 0.6453 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6035, allocations: 4.562 kB / 0.6453 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.6041, allocations: 135.8 kB / 0.6455 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.6041, allocations: 11.98 kB / 0.6455 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.6042, allocations: 22.34 kB / 0.6455 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.6042, allocations: 8 kB / 0.6455 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.6042, allocations: 7.938 kB / 0.6455 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.6067, allocations: 1.801 MB / 0.6473 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.6073, allocations: 222.2 kB / 0.6475 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.6075, allocations: 19.98 kB / 0.6475 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.6081, allocations: 49.84 kB / 0.6476 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6082, allocations: 60.28 kB / 0.6476 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/0.6083, allocations: 45.47 kB / 0.6477 GB, free: 8.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002663/0.611, allocations: 1.56 MB / 0.6492 GB, free: 6.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.611, allocations: 0 / 0.6492 GB, free: 6.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00412/0.6151, allocations: 1.022 MB / 0.6502 GB, free: 5.691 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.003118/0.6182, allocations: 2.445 MB / 0.6526 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005319/0.6236, allocations: 3.02 MB / 0.6555 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.6236, allocations: 2 kB / 0.6555 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/0.6246, allocations: 0.6835 MB / 0.6562 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.626, allocations: 254.5 kB / 0.6564 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05896/0.685, allocations: 29.39 MB / 0.6851 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004655/0.6896, allocations: 2.416 MB / 0.6875 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003698/0.6933, allocations: 1.49 MB / 0.6889 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/0.6961, allocations: 1.515 MB / 0.6904 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/0.6961, allocations: 0 / 0.6904 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09013/0.7863, allocations: 38.22 MB / 0.7278 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.62, allocations: 7.984 kB / 0.7278 GB, free: 2.387 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.41639276407659] Failed to read output from testmodel.py, exit status != 0: 14.751846329774708 14.766855846 14.356159161 Calling exit ...