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.00182/0.00182, allocations: 116.8 kB / 17.13 MB, free: 5.945 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.002278/0.002278, allocations: 208.3 kB / 20.09 MB, free: 3 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.47/1.47, allocations: 207.6 MB / 230.5 MB, free: 4.016 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.3413/0.3413, allocations: 44.23 MB / 326.6 MB, free: 6.809 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="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.00239/0.00239, allocations: 67.89 kB / 462.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.303, allocations: 61 MB / 0.5109 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009708/0.3127, allocations: 11.35 MB / 0.522 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.3187, allocations: 2.8 MB / 0.5247 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.3211, allocations: 63.81 kB / 0.5248 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.3243, allocations: 1.323 MB / 0.5261 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.3281, allocations: 1.249 MB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.3287, allocations: 79.84 kB / 0.5274 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.3332, allocations: 2.752 MB / 0.5301 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.336, allocations: 1.629 MB / 0.5317 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.3385, allocations: 1.066 MB / 0.5327 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003017/0.3415, allocations: 1.608 MB / 0.5343 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000968/0.3425, allocations: 216 kB / 0.5345 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.3443, allocations: 499.3 kB / 0.535 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.3465, allocations: 1.449 MB / 0.5364 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003677/0.3502, allocations: 1.723 MB / 0.5381 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00921/0.3594, allocations: 5.513 MB / 0.5435 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.3594, allocations: 4 kB / 0.5435 GB, free: 13.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3594, allocations: 0 / 0.5435 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002386/0.3597, allocations: 0 / 0.5435 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.009025/0.3687, allocations: 3.711 MB / 0.5471 GB, free: 9.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.3688, allocations: 15.89 kB / 0.5471 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001935/0.3707, allocations: 0.6632 MB / 0.5477 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.3814, allocations: 2.962 MB / 0.5506 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.3852, allocations: 1.546 MB / 0.5521 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.3854, allocations: 176.6 kB / 0.5523 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008015/0.3862, allocations: 223.8 kB / 0.5525 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.4022, allocations: 9.468 MB / 0.5618 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.4023, allocations: 19.81 kB / 0.5618 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005702/0.4029, allocations: 107.8 kB / 0.5619 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004119/0.407, allocations: 2.377 MB / 0.5642 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.4246, allocations: 8.668 MB / 0.5727 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04493/0.4695, allocations: 29.14 MB / 0.6011 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/0.475, allocations: 2.951 MB / 0.604 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.4766, allocations: 0.9023 MB / 0.6049 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.4873, allocations: 4.843 MB / 0.6096 GB, free: 7.941 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.4874, allocations: 47.16 kB / 0.6097 GB, free: 7.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 4.629e-06/0.4874, allocations: 4 kB / 0.6097 GB, free: 7.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006678/0.4941, allocations: 2.741 MB / 0.6124 GB, free: 5.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.4941, allocations: 60.06 kB / 0.6124 GB, free: 5.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/0.4983, allocations: 2.57 MB / 0.6149 GB, free: 2.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.4985, allocations: 37.7 kB / 0.615 GB, free: 2.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.5007, allocations: 2.771 MB / 0.6177 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006397/0.5013, allocations: 0.5079 MB / 0.6182 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.5026, allocations: 0.9052 MB / 0.619 GB, free: 14.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.5028, allocations: 365.7 kB / 0.6194 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.505, allocations: 1.352 MB / 0.6207 GB, free: 12.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/0.5097, allocations: 4.122 MB / 0.6247 GB, free: 6.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/0.5171, allocations: 5.964 MB / 0.6306 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.205e-05/0.5172, allocations: 28 kB / 0.6306 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009494/0.5267, allocations: 5.292 MB / 0.6358 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/0.5267, allocations: 48 kB / 0.6358 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.5269, allocations: 99.94 kB / 0.6359 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.527, allocations: 128 kB / 0.636 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.53, allocations: 0.9747 MB / 0.637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/0.5302, allocations: 195.8 kB / 0.6372 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5332, allocations: 0.6205 MB / 0.6378 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/0.5338, allocations: 279.9 kB / 0.638 GB, free: 7.961 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.003146/0.537, allocations: 1.887 MB / 0.6399 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.5374, allocations: 222.5 kB / 0.6401 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/0.538, allocations: 279.4 kB / 0.6404 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/0.538, allocations: 15.98 kB / 0.6404 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.538, allocations: 4 kB / 0.6404 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.5381, allocations: 3.984 kB / 0.6404 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2384/0.7764, allocations: 5.605 MB / 0.6459 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.7764, allocations: 7.844 kB / 0.6459 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.7771, allocations: 139.5 kB / 0.646 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.7771, allocations: 7.312 kB / 0.646 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.7772, allocations: 23.88 kB / 0.646 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/0.7772, allocations: 8.969 kB / 0.646 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7772, allocations: 8.438 kB / 0.646 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.7795, allocations: 1.802 MB / 0.6478 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.78, allocations: 298.4 kB / 0.6481 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.7802, allocations: 17.95 kB / 0.6481 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.7808, allocations: 42.34 kB / 0.6481 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.781, allocations: 63.47 kB / 0.6482 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.7811, allocations: 48.38 kB / 0.6482 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002637/0.7837, allocations: 1.558 MB / 0.6498 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7837, allocations: 3.906 kB / 0.6498 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003721/0.7874, allocations: 1.016 MB / 0.6508 GB, free: 117.7 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.002916/0.7903, allocations: 2.445 MB / 0.6532 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004686/0.795, allocations: 3.018 MB / 0.6561 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.795, allocations: 0 / 0.6561 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.7959, allocations: 0.6935 MB / 0.6568 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.7973, allocations: 259 kB / 0.657 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.8309, allocations: 29.38 MB / 0.6857 GB, free: 90.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.834, allocations: 2.977 MB / 0.6886 GB, free: 87.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002737/0.8368, allocations: 1.481 MB / 0.6901 GB, free: 85.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/0.8385, allocations: 1.519 MB / 0.6916 GB, free: 84.47 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.8385, allocations: 0 / 0.6916 GB, free: 84.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08243/0.921, allocations: 38.84 MB / 0.7295 GB, free: 45.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.65, allocations: 7.984 kB / 0.7295 GB, free: 45.62 MB / 0.4981 GB " [Timeout remaining time 644] (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: 18.488325387996156] Failed to read output from testmodel.py, exit status != 0: 15.747664769995026 15.766512337 15.402387049 Calling exit ...