Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 258.2 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2281/0.2281, allocations: 46.92 MB / 361.6 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 84.14 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3216, allocations: 66.09 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0129/0.3345, allocations: 11.3 MB / 0.5725 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.3404, allocations: 2.843 MB / 0.5753 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3417, allocations: 63.75 kB / 0.5754 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.3444, allocations: 1.362 MB / 0.5767 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.3474, allocations: 1.249 MB / 0.5779 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3478, allocations: 87.83 kB / 0.578 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003471/0.3513, allocations: 2.717 MB / 0.5807 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.3533, allocations: 1.683 MB / 0.5823 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.355, allocations: 1.051 MB / 0.5833 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.3573, allocations: 1.608 MB / 0.5849 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005534/0.3579, allocations: 208 kB / 0.5851 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.3591, allocations: 0.5032 MB / 0.5856 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.3605, allocations: 1.437 MB / 0.587 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.3625, allocations: 1.692 MB / 0.5886 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.3687, allocations: 5.472 MB / 0.594 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3687, allocations: 0 / 0.594 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3687, allocations: 0 / 0.594 GB, free: 2.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.3689, allocations: 0 / 0.594 GB, free: 2.922 MB / 430.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.005972/0.3748, allocations: 3.597 MB / 0.5975 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3749, allocations: 12.03 kB / 0.5975 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008639/0.3758, allocations: 0.6632 MB / 0.5982 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009102/0.3849, allocations: 2.958 MB / 0.6011 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.3881, allocations: 1.48 MB / 0.6025 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.3883, allocations: 172.6 kB / 0.6027 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.3888, allocations: 231.8 kB / 0.6029 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.4031, allocations: 9.46 MB / 0.6121 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.4032, allocations: 19.81 kB / 0.6121 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.4035, allocations: 107.8 kB / 0.6122 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.4071, allocations: 2.381 MB / 0.6146 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.4237, allocations: 8.67 MB / 0.623 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04264/0.4664, allocations: 29.05 MB / 0.6514 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/0.471, allocations: 2.044 MB / 0.6534 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4723, allocations: 0.9062 MB / 0.6543 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008233/0.4805, allocations: 3.954 MB / 0.6582 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4806, allocations: 43.22 kB / 0.6582 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 5.3e-06/0.4806, allocations: 4 kB / 0.6582 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.006131/0.4867, allocations: 2.741 MB / 0.6609 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.4868, allocations: 60.06 kB / 0.6609 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/0.4903, allocations: 2.569 MB / 0.6634 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.4904, allocations: 37.7 kB / 0.6635 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.4923, allocations: 2.759 MB / 0.6662 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.4927, allocations: 0.5078 MB / 0.6667 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.4938, allocations: 0.9091 MB / 0.6676 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.494, allocations: 365.9 kB / 0.6679 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.4959, allocations: 1.359 MB / 0.6692 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/0.5001, allocations: 4.11 MB / 0.6732 GB, free: 14.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007169/0.5073, allocations: 5.96 MB / 0.6791 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.032e-05/0.5074, allocations: 32 kB / 0.6791 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009367/0.5168, allocations: 5.295 MB / 0.6843 GB, free: 2.238 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.5168, allocations: 48 kB / 0.6843 GB, free: 2.191 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.517, allocations: 100 kB / 0.6844 GB, free: 2.094 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.5171, allocations: 128 kB / 0.6845 GB, free: 1.969 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.5199, allocations: 0.9708 MB / 0.6855 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/0.5201, allocations: 191.9 kB / 0.6857 GB, free: 0.8086 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.5228, allocations: 0.6244 MB / 0.6863 GB, free: 184 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.5232, allocations: 272 kB / 0.6865 GB, free: 15.91 MB / 0.5294 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.002936/0.5261, allocations: 1.891 MB / 0.6884 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/0.5265, allocations: 226.5 kB / 0.6886 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.5269, allocations: 271.3 kB / 0.6889 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/0.5269, allocations: 19.98 kB / 0.6889 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5269, allocations: 7.938 kB / 0.6889 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5269, allocations: 3.984 kB / 0.6889 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008851/0.5358, allocations: 5.59 MB / 0.6943 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5358, allocations: 4 kB / 0.6943 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.5364, allocations: 139.8 kB / 0.6945 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.5364, allocations: 4 kB / 0.6945 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.5365, allocations: 23.98 kB / 0.6945 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.5365, allocations: 8 kB / 0.6945 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5365, allocations: 7.938 kB / 0.6945 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.5388, allocations: 1.805 MB / 0.6963 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.5392, allocations: 214.2 kB / 0.6965 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5394, allocations: 20 kB / 0.6965 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.54, allocations: 39.95 kB / 0.6965 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5401, allocations: 64.28 kB / 0.6966 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/0.5402, allocations: 43.97 kB / 0.6966 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002392/0.5426, allocations: 1.556 MB / 0.6982 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5426, allocations: 0 / 0.6982 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003851/0.5464, allocations: 1.008 MB / 0.6992 GB, free: 2.754 MB / 0.5294 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.002877/0.5493, allocations: 2.445 MB / 0.7015 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.5542, allocations: 3.023 MB / 0.7045 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.5542, allocations: 0 / 0.7045 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.5552, allocations: 0.6863 MB / 0.7052 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.5565, allocations: 244.9 kB / 0.7054 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2868/0.8433, allocations: 29.37 MB / 0.7341 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.8459, allocations: 2.956 MB / 0.737 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002604/0.8485, allocations: 1.486 MB / 0.7384 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/0.8502, allocations: 1.517 MB / 0.7399 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.8502, allocations: 0 / 0.7399 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0659/0.9161, allocations: 42.41 MB / 0.7813 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.75, allocations: 3 kB / 0.7813 GB, free: 115.1 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.749667956959456] Failed to read output from testmodel.py, exit status != 0: ['time', 'torus1.surface.nu', 'torus1.surface.nv', 'torus2.surface.nu', 'torus2.surface.nv'] 16.854286728892475 16.876761643000002 16.50352711 Calling exit ...