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.001585/0.001585, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001834/0.001834, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.542/1.542, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2499/0.2499, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.002323/0.002323, allocations: 79.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1438, allocations: 65.98 MB / 0.5556 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01438/0.1582, allocations: 11.29 MB / 0.5667 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.1652, allocations: 2.839 MB / 0.5694 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.167, allocations: 51.94 kB / 0.5695 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.1706, allocations: 1.347 MB / 0.5708 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.1743, allocations: 1.253 MB / 0.572 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.175, allocations: 75.84 kB / 0.5721 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.1793, allocations: 2.719 MB / 0.5748 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.1823, allocations: 1.618 MB / 0.5763 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.1845, allocations: 1.047 MB / 0.5774 GB, free: 72 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.1873, allocations: 1.6 MB / 0.5789 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.1882, allocations: 208 kB / 0.5791 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1899, allocations: 0.507 MB / 0.5796 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002374/0.1923, allocations: 1.429 MB / 0.581 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003866/0.1962, allocations: 1.696 MB / 0.5827 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009766/0.2059, allocations: 5.453 MB / 0.588 GB, free: 5.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.206, allocations: 8 kB / 0.588 GB, free: 5.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.206, allocations: 0 / 0.588 GB, free: 5.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002819/0.2062, allocations: 0 / 0.588 GB, free: 5.129 MB / 446.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.009636/0.2159, allocations: 3.676 MB / 0.5916 GB, free: 1.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.2159, allocations: 12.03 kB / 0.5916 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002066/0.218, allocations: 0.6671 MB / 0.5922 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2775/0.4955, allocations: 2.956 MB / 0.5951 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.5003, allocations: 1.536 MB / 0.5966 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.5005, allocations: 177.9 kB / 0.5968 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5018, allocations: 220.5 kB / 0.597 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.5219, allocations: 9.475 MB / 0.6063 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.522, allocations: 22.38 kB / 0.6063 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009748/0.523, allocations: 106.8 kB / 0.6064 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004438/0.5274, allocations: 2.371 MB / 0.6087 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.5455, allocations: 8.676 MB / 0.6172 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/0.5893, allocations: 29.16 MB / 0.6457 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005822/0.5952, allocations: 2.936 MB / 0.6485 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.5969, allocations: 0.9009 MB / 0.6494 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.6085, allocations: 4.853 MB / 0.6541 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.6086, allocations: 43.2 kB / 0.6542 GB, free: 3.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.24e-06/0.6086, allocations: 0 / 0.6542 GB, free: 3.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.007191/0.6158, allocations: 2.745 MB / 0.6569 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.6158, allocations: 60.06 kB / 0.6569 GB, free: 0.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005344/0.6212, allocations: 2.579 MB / 0.6594 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.6214, allocations: 37.7 kB / 0.6595 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002657/0.624, allocations: 2.755 MB / 0.6622 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/0.6249, allocations: 0.504 MB / 0.6627 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/0.627, allocations: 0.9052 MB / 0.6635 GB, free: 9.895 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.6272, allocations: 357.9 kB / 0.6639 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.6299, allocations: 1.359 MB / 0.6652 GB, free: 8.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006095/0.636, allocations: 4.114 MB / 0.6692 GB, free: 2.668 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/0.6447, allocations: 5.96 MB / 0.675 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.6448, allocations: 31.94 kB / 0.6751 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01187/0.6567, allocations: 5.3 MB / 0.6803 GB, free: 5.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.6568, allocations: 51.98 kB / 0.6803 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/0.657, allocations: 96 kB / 0.6804 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.6572, allocations: 128 kB / 0.6805 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.6607, allocations: 0.9747 MB / 0.6815 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/0.661, allocations: 191.2 kB / 0.6816 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.6649, allocations: 0.6165 MB / 0.6823 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00083/0.6657, allocations: 282.8 kB / 0.6825 GB, free: 3.668 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.004178/0.6699, allocations: 1.899 MB / 0.6844 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.6705, allocations: 222.5 kB / 0.6846 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.6712, allocations: 275.3 kB / 0.6849 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/0.6713, allocations: 12 kB / 0.6849 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.6713, allocations: 3.938 kB / 0.6849 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6713, allocations: 7.984 kB / 0.6849 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.6839, allocations: 5.614 MB / 0.6904 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.6839, allocations: 8 kB / 0.6904 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.6845, allocations: 131.8 kB / 0.6905 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.6846, allocations: 8 kB / 0.6905 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.6847, allocations: 23.98 kB / 0.6905 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.6847, allocations: 12.55 kB / 0.6905 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6847, allocations: 11.94 kB / 0.6905 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.6873, allocations: 1.797 MB / 0.6923 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.688, allocations: 303.3 kB / 0.6926 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/0.6884, allocations: 16 kB / 0.6926 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/0.6893, allocations: 39.94 kB / 0.6926 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.6894, allocations: 68.38 kB / 0.6927 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.6895, allocations: 39.98 kB / 0.6927 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003266/0.6928, allocations: 1.552 MB / 0.6943 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.6928, allocations: 0 / 0.6943 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004717/0.6975, allocations: 1 MB / 0.6952 GB, free: 6.391 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.003706/0.7012, allocations: 2.452 MB / 0.6976 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00562/0.7068, allocations: 3.015 MB / 0.7006 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7068, allocations: 0 / 0.7006 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.708, allocations: 0.6879 MB / 0.7012 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.71, allocations: 253.2 kB / 0.7015 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0602/0.7702, allocations: 29.36 MB / 0.7302 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006506/0.7767, allocations: 2.962 MB / 0.7331 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004122/0.7808, allocations: 1.492 MB / 0.7345 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/0.784, allocations: 1.518 MB / 0.736 GB, free: 8.742 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/0.784, allocations: 0 / 0.736 GB, free: 8.742 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09314/0.8772, allocations: 38.79 MB / 0.7739 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.75, allocations: 11.3 kB / 0.7739 GB, free: 2.098 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Torus_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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: 20.02942275488749] Failed to read output from testmodel.py, exit status != 0: ['time', 'torus1.surface.nu', 'torus1.surface.nv', 'torus2.surface.nu', 'torus2.surface.nv'] 16.847711676731706 16.864638965 16.654971862 Calling exit ...