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.001871/0.001871, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.001954/0.001954, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2411/0.2411, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.002399/0.002399, allocations: 79.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1337, allocations: 66.03 MB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01382/0.1475, allocations: 11.29 MB / 0.5672 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.1534, allocations: 2.835 MB / 0.5699 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1547, allocations: 59.81 kB / 0.57 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.1574, allocations: 1.347 MB / 0.5713 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.1603, allocations: 1.252 MB / 0.5725 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1608, allocations: 83.84 kB / 0.5726 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.1651, allocations: 2.712 MB / 0.5753 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.1681, allocations: 1.622 MB / 0.5768 GB, free: 244 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.1703, allocations: 1.059 MB / 0.5779 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.1732, allocations: 1.612 MB / 0.5795 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008013/0.174, allocations: 208 kB / 0.5796 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1755, allocations: 0.5032 MB / 0.5801 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.1774, allocations: 1.421 MB / 0.5815 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.1803, allocations: 1.692 MB / 0.5832 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007667/0.188, allocations: 5.464 MB / 0.5885 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.188, allocations: 0 / 0.5885 GB, free: 4.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.188, allocations: 4 kB / 0.5885 GB, free: 4.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000232/0.1882, allocations: 0 / 0.5885 GB, free: 4.23 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.008686/0.1969, allocations: 3.676 MB / 0.5921 GB, free: 496 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.197, allocations: 12.03 kB / 0.5921 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2264/0.4234, allocations: 0.6646 MB / 0.5928 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.4338, allocations: 2.958 MB / 0.5957 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.437, allocations: 1.535 MB / 0.5972 GB, free: 32.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.4372, allocations: 176.5 kB / 0.5973 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.4382, allocations: 219 kB / 0.5975 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.4542, allocations: 9.475 MB / 0.6068 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.739e-05/0.4543, allocations: 24.11 kB / 0.6068 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004893/0.4547, allocations: 108.7 kB / 0.6069 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003898/0.4586, allocations: 2.371 MB / 0.6092 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.4732, allocations: 8.678 MB / 0.6177 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.5056, allocations: 29.15 MB / 0.6462 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.5107, allocations: 2.944 MB / 0.649 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.5121, allocations: 0.9028 MB / 0.6499 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009096/0.5212, allocations: 4.852 MB / 0.6547 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5213, allocations: 43.2 kB / 0.6547 GB, free: 2.352 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.937e-06/0.5213, allocations: 3.938 kB / 0.6547 GB, free: 2.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006409/0.5277, allocations: 2.741 MB / 0.6574 GB, free: 15.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5277, allocations: 60.06 kB / 0.6574 GB, free: 15.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.5318, allocations: 2.569 MB / 0.66 GB, free: 12.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.532, allocations: 45.7 kB / 0.66 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.5341, allocations: 2.755 MB / 0.6627 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006957/0.5348, allocations: 0.5091 MB / 0.6632 GB, free: 9.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.5362, allocations: 0.9091 MB / 0.6641 GB, free: 8.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5364, allocations: 357.9 kB / 0.6644 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.5385, allocations: 1.355 MB / 0.6657 GB, free: 6.945 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/0.5429, allocations: 4.114 MB / 0.6698 GB, free: 1.441 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007236/0.5501, allocations: 5.968 MB / 0.6756 GB, free: 10.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-05/0.5502, allocations: 31.94 kB / 0.6756 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009557/0.5598, allocations: 5.284 MB / 0.6808 GB, free: 4.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.5599, allocations: 56.05 kB / 0.6808 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.56, allocations: 96 kB / 0.6809 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.5601, allocations: 128 kB / 0.681 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.5631, allocations: 0.9786 MB / 0.682 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.5633, allocations: 189.7 kB / 0.6822 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.5661, allocations: 0.6188 MB / 0.6828 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/0.5665, allocations: 284 kB / 0.6831 GB, free: 2.441 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.002711/0.5692, allocations: 1.895 MB / 0.6849 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.5695, allocations: 226.4 kB / 0.6851 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.57, allocations: 271.3 kB / 0.6854 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.5701, allocations: 16 kB / 0.6854 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5701, allocations: 0 / 0.6854 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5701, allocations: 3.984 kB / 0.6854 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.5792, allocations: 5.618 MB / 0.6909 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5792, allocations: 4 kB / 0.6909 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.5798, allocations: 139.7 kB / 0.691 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.5798, allocations: 8 kB / 0.691 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.5798, allocations: 20 kB / 0.6911 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.5798, allocations: 11.98 kB / 0.6911 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.5798, allocations: 8.438 kB / 0.6911 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.5822, allocations: 1.801 MB / 0.6928 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.5827, allocations: 307.2 kB / 0.6931 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.5829, allocations: 19.98 kB / 0.6931 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.5835, allocations: 39.95 kB / 0.6932 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.5836, allocations: 60.38 kB / 0.6932 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.5837, allocations: 47.98 kB / 0.6933 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002335/0.586, allocations: 1.552 MB / 0.6948 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.586, allocations: 0 / 0.6948 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003705/0.5897, allocations: 1 MB / 0.6958 GB, free: 5.164 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.003188/0.5929, allocations: 2.455 MB / 0.6982 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005265/0.5982, allocations: 3.011 MB / 0.7011 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.5982, allocations: 0 / 0.7011 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5992, allocations: 0.6878 MB / 0.7018 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.6007, allocations: 255.6 kB / 0.702 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05299/0.6537, allocations: 29.37 MB / 0.7307 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005293/0.659, allocations: 2.962 MB / 0.7336 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00348/0.6624, allocations: 1.486 MB / 0.7351 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/0.665, allocations: 1.511 MB / 0.7365 GB, free: 7.523 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.665, allocations: 4 kB / 0.7365 GB, free: 7.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08393/0.749, allocations: 38.79 MB / 0.7744 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.64, allocations: 7.984 kB / 0.7744 GB, free: 0.8789 MB / 0.5762 GB " [Timeout remaining time 644] (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: 18.783946544863284] Failed to read output from testmodel.py, exit status != 0: ['time', 'torus1.surface.nu', 'torus1.surface.nv', 'torus2.surface.nu', 'torus2.surface.nv'] 15.73779612639919 15.760834804 15.568024439 Calling exit ...