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.001396/0.001396, allocations: 105 kB / 19.74 MB, free: 2.562 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.001544/0.001544, allocations: 216.8 kB / 22.92 MB, free: 5.551 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.285/1.285, allocations: 230.2 MB / 256.1 MB, free: 8.625 MB / 206.1 MB " [Timeout remaining time 179] 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.1956/0.1956, allocations: 46.88 MB / 359.3 MB, free: 4.969 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.002096/0.002096, allocations: 79.86 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2471, allocations: 65.99 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01163/0.2588, allocations: 11.31 MB / 0.5694 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.2636, allocations: 2.848 MB / 0.5722 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.2643, allocations: 59.81 kB / 0.5723 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2666, allocations: 1.347 MB / 0.5736 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.2686, allocations: 1.237 MB / 0.5748 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2689, allocations: 83.84 kB / 0.5749 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.2714, allocations: 2.713 MB / 0.5775 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.2729, allocations: 1.461 MB / 0.579 GB, free: 44 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.2739, allocations: 1.047 MB / 0.58 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.2758, allocations: 1.596 MB / 0.5815 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.2761, allocations: 216 kB / 0.5817 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.277, allocations: 0.5069 MB / 0.5822 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.2782, allocations: 1.437 MB / 0.5836 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.2795, allocations: 1.696 MB / 0.5853 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.2845, allocations: 5.453 MB / 0.5906 GB, free: 4.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2845, allocations: 3.938 kB / 0.5906 GB, free: 4.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2845, allocations: 0 / 0.5906 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.889e-05/0.2845, allocations: 4 kB / 0.5906 GB, free: 4.039 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.004635/0.2892, allocations: 3.676 MB / 0.5942 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2892, allocations: 8.031 kB / 0.5942 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007021/0.2899, allocations: 0.671 MB / 0.5949 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009137/0.299, allocations: 2.962 MB / 0.5978 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.3012, allocations: 1.534 MB / 0.5993 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3013, allocations: 172.6 kB / 0.5994 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/0.3017, allocations: 223.8 kB / 0.5997 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.313, allocations: 9.468 MB / 0.6089 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.504e-05/0.3131, allocations: 19.81 kB / 0.6089 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.3133, allocations: 107.8 kB / 0.609 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/0.3168, allocations: 2.377 MB / 0.6113 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.3295, allocations: 8.672 MB / 0.6198 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/0.3613, allocations: 29.15 MB / 0.6483 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.3657, allocations: 2.953 MB / 0.6512 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3669, allocations: 0.9013 MB / 0.652 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007215/0.3741, allocations: 4.839 MB / 0.6568 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3741, allocations: 43.22 kB / 0.6568 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 2.625e-06/0.3741, allocations: 0 / 0.6568 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.005464/0.3796, allocations: 2.741 MB / 0.6595 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3796, allocations: 60.06 kB / 0.6595 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/0.3826, allocations: 2.566 MB / 0.6621 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.3826, allocations: 45.69 kB / 0.6621 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3843, allocations: 2.763 MB / 0.6648 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.3847, allocations: 0.504 MB / 0.6653 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009989/0.3857, allocations: 0.9052 MB / 0.6662 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3859, allocations: 361.9 kB / 0.6665 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.3877, allocations: 1.359 MB / 0.6678 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.3914, allocations: 4.118 MB / 0.6719 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/0.3975, allocations: 5.972 MB / 0.6777 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/0.3975, allocations: 28 kB / 0.6777 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007036/0.4045, allocations: 5.292 MB / 0.6829 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.4046, allocations: 51.94 kB / 0.6829 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-05/0.4047, allocations: 100.2 kB / 0.683 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.4048, allocations: 131.9 kB / 0.6832 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.4073, allocations: 0.9747 MB / 0.6841 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001407/0.4074, allocations: 195.3 kB / 0.6843 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.4095, allocations: 0.6127 MB / 0.6849 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.4098, allocations: 276 kB / 0.6852 GB, free: 14.54 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.002281/0.4121, allocations: 1.907 MB / 0.687 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.4124, allocations: 226.5 kB / 0.6872 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.4128, allocations: 267.3 kB / 0.6875 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.4128, allocations: 16 kB / 0.6875 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4129, allocations: 0 / 0.6875 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4129, allocations: 3.984 kB / 0.6875 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/0.4203, allocations: 5.615 MB / 0.693 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.4203, allocations: 4 kB / 0.693 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.4208, allocations: 135.8 kB / 0.6931 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4208, allocations: 8 kB / 0.6931 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.4209, allocations: 27.92 kB / 0.6932 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.4209, allocations: 4 kB / 0.6932 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4209, allocations: 8 kB / 0.6932 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.4229, allocations: 1.809 MB / 0.6949 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.4232, allocations: 295.3 kB / 0.6952 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.4234, allocations: 20 kB / 0.6952 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.4239, allocations: 39.95 kB / 0.6953 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4241, allocations: 60.36 kB / 0.6953 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.4241, allocations: 47.98 kB / 0.6954 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001875/0.426, allocations: 1.556 MB / 0.6969 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.426, allocations: 0 / 0.6969 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002787/0.4288, allocations: 1 MB / 0.6979 GB, free: 1.254 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.002445/0.4312, allocations: 2.441 MB / 0.7003 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003892/0.4351, allocations: 3.014 MB / 0.7032 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4351, allocations: 5.812 kB / 0.7032 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008072/0.4359, allocations: 0.6837 MB / 0.7039 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/0.4369, allocations: 247.2 kB / 0.7041 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/0.4707, allocations: 29.39 MB / 0.7328 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/0.4738, allocations: 2.962 MB / 0.7357 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002782/0.4765, allocations: 1.484 MB / 0.7372 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/0.4782, allocations: 1.511 MB / 0.7386 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.4782, allocations: 0 / 0.7386 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.723, allocations: 38.98 MB / 0.7767 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.03, allocations: 0 / 0.7767 GB, free: 149.2 MB / 0.5762 GB " [Timeout remaining time 647] (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: 15.522615559006226]