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.0008839/0.0008839, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009438/0.0009438, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8264/0.8264, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1271/0.1271, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.646e-05, allocations: 6.078 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008018/0.008044, allocations: 9.866 MB / 416.7 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.01322, allocations: 2.676 MB / 419.4 MB, free: 5.652 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.01451, allocations: 59.81 kB / 419.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.01629, allocations: 1.335 MB / 420.8 MB, free: 4.254 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.01819, allocations: 1.306 MB / 422.1 MB, free: 2.941 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.01843, allocations: 83.84 kB / 422.1 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.02061, allocations: 2.806 MB / 425 MB, free: 44 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.02199, allocations: 1.691 MB / 426.6 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.02338, allocations: 1.566 MB / 428.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.02489, allocations: 1.508 MB / 429.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.02522, allocations: 208 kB / 429.9 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.02617, allocations: 471.4 kB / 430.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008671/0.02704, allocations: 1.499 MB / 431.9 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.0278, allocations: 0.8755 MB / 432.8 MB, free: 8.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004445/0.03224, allocations: 5.375 MB / 438.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.03225, allocations: 0 / 438.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.03225, allocations: 4 kB / 438.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001641/0.03242, allocations: 4 kB / 438.1 MB, free: 2.785 MB / 410.7 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.005125/0.03754, allocations: 3.584 MB / 441.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.03759, allocations: 8.031 kB / 441.7 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006147/0.03821, allocations: 0.671 MB / 442.4 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.04348, allocations: 2.997 MB / 445.4 MB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.04594, allocations: 1.491 MB / 446.9 MB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.04603, allocations: 180.6 kB / 447.1 MB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.04633, allocations: 220.2 kB / 447.3 MB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009639/0.05597, allocations: 9.492 MB / 456.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.05601, allocations: 19.81 kB / 456.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.05622, allocations: 107.8 kB / 456.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.05861, allocations: 2.373 MB / 459.3 MB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.07075, allocations: 8.66 MB / 467.9 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1897/0.2604, allocations: 27.74 MB / 495.7 MB, free: 76.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.2634, allocations: 2.109 MB / 497.8 MB, free: 76.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007928/0.2642, allocations: 0.9016 MB / 498.7 MB, free: 75.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.2692, allocations: 3.914 MB / 0.4908 GB, free: 74.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2692, allocations: 41.89 kB / 0.4909 GB, free: 74.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 4.248e-06/0.2692, allocations: 0 / 0.4909 GB, free: 74.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.004072/0.2733, allocations: 2.883 MB / 0.4937 GB, free: 73.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.2733, allocations: 60 kB / 0.4937 GB, free: 73.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.2759, allocations: 2.742 MB / 0.4964 GB, free: 72.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.276, allocations: 41.08 kB / 0.4965 GB, free: 72.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.2772, allocations: 2.739 MB / 0.4991 GB, free: 70.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2775, allocations: 0.4994 MB / 0.4996 GB, free: 70.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007849/0.2783, allocations: 0.8909 MB / 0.5005 GB, free: 70.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.2784, allocations: 362.8 kB / 0.5008 GB, free: 69.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.2798, allocations: 1.352 MB / 0.5022 GB, free: 69.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.282, allocations: 4.119 MB / 0.5062 GB, free: 65.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.2866, allocations: 5.961 MB / 0.512 GB, free: 60.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.2867, allocations: 30.91 kB / 0.512 GB, free: 60.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007344/0.2941, allocations: 5.301 MB / 0.5172 GB, free: 58.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.2941, allocations: 46.53 kB / 0.5172 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.404e-05/0.2942, allocations: 104.7 kB / 0.5173 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.2943, allocations: 127 kB / 0.5175 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.2961, allocations: 0.976 MB / 0.5184 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/0.2962, allocations: 190.8 kB / 0.5186 GB, free: 58.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.2985, allocations: 0.6177 MB / 0.5192 GB, free: 57.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.2988, allocations: 275 kB / 0.5195 GB, free: 57.59 MB / 442.7 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.002351/0.3012, allocations: 1.89 MB / 0.5213 GB, free: 56.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.3015, allocations: 238.8 kB / 0.5215 GB, free: 56.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3017, allocations: 278.8 kB / 0.5218 GB, free: 56.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.3017, allocations: 19.41 kB / 0.5218 GB, free: 56.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.3018, allocations: 0 / 0.5218 GB, free: 56.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3018, allocations: 3.609 kB / 0.5218 GB, free: 56.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.3077, allocations: 5.488 MB / 0.5272 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3077, allocations: 4.938 kB / 0.5272 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.3081, allocations: 133.1 kB / 0.5273 GB, free: 53.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3081, allocations: 8 kB / 0.5273 GB, free: 53.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.3081, allocations: 25.27 kB / 0.5274 GB, free: 53.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.3082, allocations: 13.02 kB / 0.5274 GB, free: 53.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3082, allocations: 4.562 kB / 0.5274 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.3095, allocations: 1.799 MB / 0.5291 GB, free: 51.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.3099, allocations: 225.8 kB / 0.5293 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.31, allocations: 23.03 kB / 0.5294 GB, free: 51.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.3104, allocations: 42.88 kB / 0.5294 GB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.3105, allocations: 61.31 kB / 0.5295 GB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.3105, allocations: 41.45 kB / 0.5295 GB, free: 51.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001505/0.312, allocations: 1.561 MB / 0.531 GB, free: 49.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.312, allocations: 0 / 0.531 GB, free: 49.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00261/0.3146, allocations: 1.016 MB / 0.532 GB, free: 48.94 MB / 442.7 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.001433/0.3161, allocations: 2.436 MB / 0.5344 GB, free: 46.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.3191, allocations: 3.021 MB / 0.5373 GB, free: 43.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3191, allocations: 0.5 kB / 0.5373 GB, free: 43.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.3196, allocations: 0.692 MB / 0.538 GB, free: 43.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009868/0.3206, allocations: 242.8 kB / 0.5383 GB, free: 43.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/0.3467, allocations: 29.23 MB / 0.5668 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.3486, allocations: 2.413 MB / 0.5692 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001747/0.3503, allocations: 1.484 MB / 0.5706 GB, free: 6.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.3514, allocations: 1.52 MB / 0.5721 GB, free: 5.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.913e-06/0.3514, allocations: 0 / 0.5721 GB, free: 5.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05663/0.4081, allocations: 38.24 MB / 0.6094 GB, free: 15.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.306, allocations: 11.94 kB / 0.6094 GB, free: 15.1 MB / 490.7 MB " [Timeout remaining time 651] (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: 11.279304747469723] Failed to read output from testmodel.py, exit status != 0: 9.41158888116479 9.421675605 9.387033689 Calling exit ...