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.001647/0.001647, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.001496/0.001496, allocations: 203 kB / 20.79 MB, free: 2.297 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.445/1.445, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.3234/0.3234, allocations: 44.23 MB / 327.3 MB, free: 6.723 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",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.002227/0.002227, allocations: 75.89 kB / 462.9 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2958, allocations: 61.01 MB / 0.5116 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009543/0.3054, allocations: 11.34 MB / 0.5227 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.3109, allocations: 2.8 MB / 0.5254 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.3132, allocations: 59.81 kB / 0.5255 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.316, allocations: 1.327 MB / 0.5268 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.3194, allocations: 1.257 MB / 0.528 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.3197, allocations: 75.84 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.3234, allocations: 2.755 MB / 0.5308 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.3256, allocations: 1.626 MB / 0.5324 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.3273, allocations: 1.07 MB / 0.5334 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.3296, allocations: 1.604 MB / 0.535 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005179/0.3301, allocations: 211.9 kB / 0.5352 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.3313, allocations: 0.4954 MB / 0.5357 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3328, allocations: 1.453 MB / 0.5371 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.3346, allocations: 1.711 MB / 0.5388 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006483/0.3411, allocations: 5.513 MB / 0.5441 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3411, allocations: 4 kB / 0.5441 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3411, allocations: 0 / 0.5441 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.3412, allocations: 0 / 0.5441 GB, free: 13.53 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.007052/0.3483, allocations: 3.711 MB / 0.5478 GB, free: 9.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.3484, allocations: 11.89 kB / 0.5478 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001501/0.3485, allocations: 92.62 kB / 0.5479 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.3497, allocations: 0.6671 MB / 0.5485 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.3602, allocations: 2.958 MB / 0.5514 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.3638, allocations: 1.538 MB / 0.5529 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.3639, allocations: 180.4 kB / 0.5531 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006954/0.3646, allocations: 223.8 kB / 0.5533 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.3797, allocations: 9.472 MB / 0.5625 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-05/0.3797, allocations: 19.81 kB / 0.5626 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.38, allocations: 107.8 kB / 0.5627 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/0.384, allocations: 2.369 MB / 0.565 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4007, allocations: 8.664 MB / 0.5734 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04235/0.4431, allocations: 29.17 MB / 0.6019 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.4484, allocations: 2.943 MB / 0.6048 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.4498, allocations: 0.9058 MB / 0.6057 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008704/0.4585, allocations: 4.839 MB / 0.6104 GB, free: 7.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.4585, allocations: 39.22 kB / 0.6104 GB, free: 7.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 3.857e-06/0.4585, allocations: 0 / 0.6104 GB, free: 7.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006249/0.4648, allocations: 2.753 MB / 0.6131 GB, free: 5.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4648, allocations: 67.98 kB / 0.6132 GB, free: 4.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.4686, allocations: 2.566 MB / 0.6157 GB, free: 2.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/0.4687, allocations: 37.7 kB / 0.6157 GB, free: 2.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002237/0.4709, allocations: 2.767 MB / 0.6184 GB, free: 15.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.4715, allocations: 0.5079 MB / 0.6189 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.4727, allocations: 0.9091 MB / 0.6198 GB, free: 14.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4729, allocations: 357.7 kB / 0.6202 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.4749, allocations: 1.359 MB / 0.6215 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/0.4795, allocations: 4.118 MB / 0.6255 GB, free: 6.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/0.4866, allocations: 5.964 MB / 0.6313 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/0.4866, allocations: 28 kB / 0.6314 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009049/0.4957, allocations: 5.296 MB / 0.6365 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.4958, allocations: 47.98 kB / 0.6366 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.4959, allocations: 100 kB / 0.6367 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.496, allocations: 128 kB / 0.6368 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.4989, allocations: 0.9747 MB / 0.6378 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001754/0.4991, allocations: 195.2 kB / 0.6379 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/0.5019, allocations: 0.6169 MB / 0.6385 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/0.5024, allocations: 284 kB / 0.6388 GB, free: 7.863 MB / 0.4981 GB 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.002862/0.5052, allocations: 1.887 MB / 0.6407 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.5056, allocations: 226.4 kB / 0.6409 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005343/0.5061, allocations: 271.4 kB / 0.6411 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.5062, allocations: 16 kB / 0.6411 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5062, allocations: 0 / 0.6411 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5062, allocations: 7.922 kB / 0.6412 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2144/0.7205, allocations: 5.611 MB / 0.6466 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.7206, allocations: 3.688 kB / 0.6466 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/0.7212, allocations: 143.1 kB / 0.6468 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.7213, allocations: 7.781 kB / 0.6468 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.7213, allocations: 24.58 kB / 0.6468 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.7213, allocations: 8.062 kB / 0.6468 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.7214, allocations: 13.12 kB / 0.6468 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.7237, allocations: 1.798 MB / 0.6486 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.7242, allocations: 293.9 kB / 0.6489 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.7244, allocations: 21.3 kB / 0.6489 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/0.7251, allocations: 35.86 kB / 0.6489 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.7252, allocations: 72.06 kB / 0.649 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/0.7253, allocations: 38.44 kB / 0.649 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00287/0.7282, allocations: 1.563 MB / 0.6505 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7282, allocations: 0.7188 kB / 0.6505 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004093/0.7323, allocations: 1.02 MB / 0.6515 GB, free: 119.2 MB / 0.4981 GB 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.002755/0.735, allocations: 2.451 MB / 0.6539 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00469/0.7397, allocations: 3.009 MB / 0.6569 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.7397, allocations: 5 kB / 0.6569 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.7405, allocations: 0.685 MB / 0.6575 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.7419, allocations: 255 kB / 0.6578 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/0.7692, allocations: 29.4 MB / 0.6865 GB, free: 90.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/0.7714, allocations: 2.962 MB / 0.6894 GB, free: 87.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002382/0.7738, allocations: 1.485 MB / 0.6908 GB, free: 86.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.7751, allocations: 1.522 MB / 0.6923 GB, free: 84.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.7751, allocations: 0 / 0.6923 GB, free: 84.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.8317, allocations: 38.88 MB / 0.7303 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.78, allocations: 11.98 kB / 0.7303 GB, free: 45.7 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.71156725997571] Failed to read output from testmodel.py, exit status != 0: 16.964772409002762 16.987555188 16.642030977 Calling exit ...