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.001275/0.001275, allocations: 110 kB / 19.69 MB, free: 2.043 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.001453/0.001453, allocations: 223.8 kB / 23.01 MB, free: 4.949 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.5/1.5, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2228/0.2228, allocations: 44.24 MB / 330.3 MB, free: 9.504 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.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.002314/0.002314, allocations: 74.55 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 61.03 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01371/0.1416, allocations: 11.37 MB / 0.5272 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006313/0.1479, allocations: 2.804 MB / 0.53 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.1496, allocations: 59.81 kB / 0.53 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.1527, allocations: 1.343 MB / 0.5313 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1559, allocations: 1.264 MB / 0.5326 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1563, allocations: 79.84 kB / 0.5327 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.1601, allocations: 2.745 MB / 0.5353 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.1625, allocations: 1.683 MB / 0.537 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.1643, allocations: 1.066 MB / 0.538 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2195/0.3838, allocations: 1.604 MB / 0.5396 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007555/0.3846, allocations: 209.6 kB / 0.5398 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3858, allocations: 0.4955 MB / 0.5403 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.3874, allocations: 1.447 MB / 0.5417 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.3894, allocations: 1.714 MB / 0.5434 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007717/0.3971, allocations: 5.513 MB / 0.5487 GB, free: 9.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3971, allocations: 1.594 kB / 0.5487 GB, free: 9.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3972, allocations: 1.75 kB / 0.5487 GB, free: 9.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001893/0.3973, allocations: 0 / 0.5487 GB, free: 9.75 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.008575/0.4059, allocations: 3.634 MB / 0.5523 GB, free: 8.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.406, allocations: 10.81 kB / 0.5523 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001413/0.4074, allocations: 0.6689 MB / 0.553 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.4174, allocations: 2.962 MB / 0.5558 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.4218, allocations: 1.482 MB / 0.5573 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.422, allocations: 174.7 kB / 0.5575 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009475/0.4229, allocations: 219.2 kB / 0.5577 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.4383, allocations: 9.479 MB / 0.5669 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.926e-05/0.4384, allocations: 18.12 kB / 0.5669 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.4388, allocations: 106.2 kB / 0.567 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003664/0.4425, allocations: 2.369 MB / 0.5694 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.4581, allocations: 8.668 MB / 0.5778 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/0.507, allocations: 29.07 MB / 0.6062 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/0.5118, allocations: 2.046 MB / 0.6082 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.5132, allocations: 0.8993 MB / 0.6091 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00937/0.5226, allocations: 3.956 MB / 0.6129 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.5226, allocations: 43.2 kB / 0.613 GB, free: 12.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.328e-06/0.5227, allocations: 0 / 0.613 GB, free: 12.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006489/0.5291, allocations: 2.745 MB / 0.6157 GB, free: 9.914 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.5292, allocations: 64.06 kB / 0.6157 GB, free: 9.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/0.5337, allocations: 2.568 MB / 0.6182 GB, free: 7.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.5339, allocations: 40.59 kB / 0.6183 GB, free: 7.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.5361, allocations: 2.761 MB / 0.621 GB, free: 4.449 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007226/0.5368, allocations: 0.5032 MB / 0.6215 GB, free: 3.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.5382, allocations: 0.9174 MB / 0.6224 GB, free: 3.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.5384, allocations: 361.8 kB / 0.6227 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.5406, allocations: 1.352 MB / 0.624 GB, free: 1.309 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.5453, allocations: 4.12 MB / 0.6281 GB, free: 11.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007596/0.5529, allocations: 5.965 MB / 0.6339 GB, free: 4.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.432e-05/0.553, allocations: 28 kB / 0.6339 GB, free: 4.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01041/0.5634, allocations: 5.291 MB / 0.6391 GB, free: 15.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.5635, allocations: 48 kB / 0.6391 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.5636, allocations: 103.9 kB / 0.6392 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.5637, allocations: 128 kB / 0.6393 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.5667, allocations: 0.9708 MB / 0.6403 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001628/0.5668, allocations: 195.2 kB / 0.6405 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.57, allocations: 0.6163 MB / 0.6411 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/0.5705, allocations: 280.2 kB / 0.6413 GB, free: 13.45 MB / 494.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.0038/0.5743, allocations: 1.896 MB / 0.6432 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.5747, allocations: 226.5 kB / 0.6434 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.5753, allocations: 267.4 kB / 0.6437 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.5753, allocations: 16 kB / 0.6437 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.5753, allocations: 3.984 kB / 0.6437 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5753, allocations: 5.953 kB / 0.6437 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.5862, allocations: 5.584 MB / 0.6491 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5862, allocations: 4 kB / 0.6491 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.5868, allocations: 143.7 kB / 0.6493 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.5868, allocations: 8 kB / 0.6493 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.5869, allocations: 24.56 kB / 0.6493 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.5869, allocations: 12 kB / 0.6493 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.5869, allocations: 15.92 kB / 0.6493 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.5895, allocations: 1.796 MB / 0.6511 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.5901, allocations: 226.1 kB / 0.6513 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.5904, allocations: 20 kB / 0.6513 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.591, allocations: 47.64 kB / 0.6514 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5911, allocations: 68.28 kB / 0.6514 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.5912, allocations: 39.84 kB / 0.6515 GB, free: 2.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002705/0.5939, allocations: 1.56 MB / 0.653 GB, free: 1.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5939, allocations: 0 / 0.653 GB, free: 1.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003882/0.5978, allocations: 1.014 MB / 0.654 GB, free: 304 kB / 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.002988/0.6008, allocations: 2.447 MB / 0.6564 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005091/0.6059, allocations: 3.017 MB / 0.6593 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.6059, allocations: 0.875 kB / 0.6593 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.6068, allocations: 0.6827 MB / 0.66 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.6082, allocations: 256.5 kB / 0.6602 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/0.6557, allocations: 29.4 MB / 0.6889 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003998/0.6597, allocations: 2.967 MB / 0.6918 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003285/0.663, allocations: 1.484 MB / 0.6933 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/0.6653, allocations: 1.519 MB / 0.6948 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of SimCode: time 1.623e-06/0.6653, allocations: 0 / 0.6948 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09333/0.7586, allocations: 42.58 MB / 0.7364 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.02, allocations: 15.06 kB / 0.7364 GB, free: 8.066 MB / 0.5762 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 22.04491539599985] Failed to read output from testmodel.py, exit status != 0: 19.15462967500207 19.181865334 18.779472952 Calling exit ...